Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 8
0ae9bd4d2993
parent 7
c679fb30c8f3
child 12
1d8dd9706f46
equal deleted inserted replaced
7:c679fb30c8f3 8:0ae9bd4d2993
290 """ 290 """
291 Private slot called to handle the navigation button menu selection. 291 Private slot called to handle the navigation button menu selection.
292 292
293 @param act reference to the selected action (QAction) 293 @param act reference to the selected action (QAction)
294 """ 294 """
295 index, ok = act.data() 295 index = act.data()
296 if ok: 296 if index is not None:
297 self.setCurrentIndex(index) 297 self.setCurrentIndex(index)
298 298
299 def showIndicator(self, on): 299 def showIndicator(self, on):
300 """ 300 """
301 Public slot to set the indicator on or off. 301 Public slot to set the indicator on or off.

eric ide

mercurial