def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ # this is important since these pref keys are used in other command modes # as well and we do not want to see the 5' end arrow in Inset DNA mode self.connect_or_disconnect_signals(False) PM_Dialog.close(self)
def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ self.connect_or_disconnect_signals(False) PM_Dialog.close(self) # Restore the original global display style. self.o.setGlobalDisplayStyle(self.originalDisplayStyle)
def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ #First exit temporary modes (e.g. Pan mode) if any. currentCommand = self.win.commandSequencer.currentCommand if not currentCommand.command_has_its_own_gui: currentCommand.Done() self.connect_or_disconnect_signals(isConnect = False) PM_Dialog.close(self)
def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ #First exit temporary modes (e.g. Pan mode) if any. currentCommand = self.win.commandSequencer.currentCommand if not currentCommand.command_has_its_own_gui: currentCommand.Done() self.connect_or_disconnect_signals(isConnect=False) PM_Dialog.close(self)
def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ #First exit temporary modes (e.g. Pan mode) if any. currentCommand = self.win.commandSequencer.currentCommand if not currentCommand.command_has_its_own_gui: currentCommand.Done() self.connect_or_disconnect_signals(False) self.enable_or_disable_gui_actions(bool_enable = True) self.updateCommandToolbar(bool_entering = False) PM_Dialog.close(self)
def close(self): """ Closes the Property Manager. Overrides PM_Dialog.close. """ self.connect_or_disconnect_signals(False) PM_Dialog.close(self)