aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/TabWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/TabWidget.h b/gui/TabWidget.h
index 3914839f63..81544c2de7 100644
--- a/gui/TabWidget.h
+++ b/gui/TabWidget.h
@@ -76,6 +76,10 @@ public:
*/
void removeTab(int tabID);
+ int getActiveTab() {
+ return _activeTab;
+ }
+
/**
* Set the active tab by specifying a valid tab ID.
* setActiveTab changes the value of _firstWidget. This means new