def updateAction( self ): """ Updates the action to edit based on the current item. """ item = self.uiActionTREE.currentItem() if ( item ): action = item.action() else: action = QAction() self.uiShortcutTXT.setText(action.shortcut().toString())
def updateAction(self): """ Updates the action to edit based on the current item. """ item = self.uiActionTREE.currentItem() if (item): action = item.action() else: action = QAction() self.uiShortcutTXT.setText(action.shortcut().toString())