From fb63cec00975f9f672dfd92106b4cbdcd96843c7 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 27 Feb 2024 18:28:35 -0500 Subject: Fix project browser interactions happening on deselected items --- ui/projectbrowser.h | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.3.1