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