summaryrefslogtreecommitdiff
path: root/ui/uicontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/uicontext.h')
-rw-r--r--ui/uicontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h
index 44c1e53d..94b05b05 100644
--- a/ui/uicontext.h
+++ b/ui/uicontext.h
@@ -339,6 +339,8 @@ class BINARYNINJAUIAPI UIContext
*/
virtual QWidget* getCurrentTab() = 0;
+ virtual QWidget* createNewTab(bool focus = true) = 0;
+
/*!
Get the current View associated with the given QWidget, if it exists
\param tab QWidget which could be a ViewFrame