--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py Wed Dec 30 15:40:33 2009 +0000 +++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py Wed Dec 30 16:43:09 2009 +0000 @@ -292,8 +292,8 @@ @param act reference to the selected action (QAction) """ - index, ok = act.data() - if ok: + index = act.data() + if index is not None: self.setCurrentIndex(index) def showIndicator(self, on):