From cbe7cb052427d9845d6092775b6385dc61beb301 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 20 Sep 2009 11:25:39 +0000 Subject: Added TabWidget::getActiveTab() svn-id: r44199 --- gui/TabWidget.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3