From a4f00fbf5efd205cc8831ce8b6e7394c47f99a2f Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Fri, 7 Feb 2025 18:46:20 -0500 Subject: Fix item indices getting desynced when moving nested items in project browser --- ui/projectbrowser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/projectbrowser.h') diff --git a/ui/projectbrowser.h b/ui/projectbrowser.h index 5752e915..70441aac 100644 --- a/ui/projectbrowser.h +++ b/ui/projectbrowser.h @@ -54,7 +54,7 @@ class BINARYNINJAUIAPI ProjectItemModel: public QStandardItemModel, public Binar QFileSystemWatcher* m_fsWatcher; - std::unordered_map m_idIndexMap; + std::unordered_map m_itemsById; QHash m_pathMimeTypeCache; QHash m_pathSizeCache; -- cgit v1.3.1