Tools/TRPreviewer.py

branch
5_0_x
changeset 522
da309f4795ce
parent 521
29a1a1771e5a
child 528
0a48fc67c451
equal deleted inserted replaced
521:29a1a1771e5a 522:da309f4795ce
834 Public method to handle the toggle of a window. 834 Public method to handle the toggle of a window.
835 835
836 @param act reference to the action that triggered (QAction) 836 @param act reference to the action that triggered (QAction)
837 """ 837 """
838 idx = act.data() 838 idx = act.data()
839 self.__toggleWidget(self.widgets[idx]) 839 if idx is not None:
840 self.__toggleWidget(self.widgets[idx])
840 841
841 def __toggleWidget(self, w): 842 def __toggleWidget(self, w):
842 """ 843 """
843 Private method to toggle a workspace window. 844 Private method to toggle a workspace window.
844 845

eric ide

mercurial