From dc8a1ed20fb0a0a7341f940a4c224e2002928f4e Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 28 Apr 2022 12:56:49 -0400 Subject: Improve navigation to correct tab when error/warn indicator is clicked Fix potential hang and new tab navigation when clicking error/warn indicator --- ui/uicontext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ui/uicontext.h') diff --git a/ui/uicontext.h b/ui/uicontext.h index 94b05b05..6a139dd6 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -271,6 +271,16 @@ class BINARYNINJAUIAPI UIContext */ virtual std::vector> getAvailableBinaryViews() = 0; + /*! + Gets the tab for for a given sessionId + */ + virtual QWidget* getTabForSessionId(uint64_t sessionId) = 0; + + /*! + Gets the name of a tab for the given session + */ + virtual QString getTabNameForSessionId(uint64_t sessionId) = 0; + /*! Get the currently visible View for the currently visible ViewFrame (if it exists) \return Current View or nullptr if the current ViewFrame is null or does not have a View -- cgit v1.3.1