def register_editorstack(self, editorstack): TaurusBaseEditor.register_editorstack(self, editorstack) try: self.editorstack.refresh_save_all_action.connect( self.refresh_save_and_apply_action) except AttributeError: self.connect(editorstack, Qt.SIGNAL('refresh_save_all_action()'), self.refresh_save_and_apply_action)
def register_editorstack(self, editorstack): TaurusBaseEditor.register_editorstack(self, editorstack) editorstack.refresh_save_all_action.connect( self.refresh_save_and_apply_action)
def register_editorstack(self, editorstack): TaurusBaseEditor.register_editorstack(self, editorstack) self.connect(editorstack, Qt.SIGNAL('refresh_save_all_action()'), self.refresh_save_and_apply_action)