summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-02-27 18:28:35 -0500
committerJosh Ferrell <josh@vector35.com>2024-02-29 13:49:35 -0500
commitfb63cec00975f9f672dfd92106b4cbdcd96843c7 (patch)
tree3c3564e936855003223cb48ab05cf4ca8b667050
parent9e1de1b3dda78250012f4e03963e4d8916a8c8cd (diff)
Fix project browser interactions happening on deselected items
-rw-r--r--ui/projectbrowser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/projectbrowser.h b/ui/projectbrowser.h
index 844c16f1..f9e00985 100644
--- a/ui/projectbrowser.h
+++ b/ui/projectbrowser.h
@@ -297,6 +297,7 @@ class BINARYNINJAUIAPI ProjectBrowser: public QWidget, public UIContextNotificat
Menu m_projectMenu;
ProjectFolderRef GetFolderContainingIndex(const QModelIndex& index) const;
+ QModelIndex GetCurrentSelectedIndex() const;
virtual void OnAfterOpenProjectFile(UIContext* context, ProjectFileRef projectFile, ViewFrame* frame) override;