From 0e7e72b56d4b75cb69d91f7fec7210fd2cf8ffa1 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Thu, 8 Aug 2019 16:27:32 -0400 Subject: [PATCH] Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex --- PySimpleGUI.py | 2 +- PySimpleGUIQt/PySimpleGUIQt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 772cfa85..f6008fd1 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -3578,7 +3578,7 @@ class TabGroup(Element): print('Exception Selecting Tab {}'.format(e)) - def GetCurrentIndex(self): + def GetCurrentlySelectedTabIndex(self): """ Returns the "index" of the currently selected tab in this TabGroup. Indexes start at 0. Returns None if there is an error. diff --git a/PySimpleGUIQt/PySimpleGUIQt.py b/PySimpleGUIQt/PySimpleGUIQt.py index e250671e..bff142bb 100644 --- a/PySimpleGUIQt/PySimpleGUIQt.py +++ b/PySimpleGUIQt/PySimpleGUIQt.py @@ -2267,7 +2267,7 @@ class TabGroup(Element): except: pass - def GetCurrentIndex(self): + def GetCurrentlySelectedTabIndex(self): try: index = self.QT_QTabWidget.currentIndex() except: