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: