E5Gui/E5ToolBarManager.py

changeset 5616
adcffadf4962
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5615:2c9c2d67e4d8 5616:adcffadf4962
244 self.__widgetActions[id(action)] = None 244 self.__widgetActions[id(action)] = None
245 toolBar.removeAction(action) 245 toolBar.removeAction(action)
246 if action.isSeparator(): 246 if action.isSeparator():
247 del action 247 del action
248 else: 248 else:
249 self.__actionToToolBars[id(action)].remove(toolBar) # __IGNORE_WARNING__ 249 self.__actionToToolBars[id(action)].remove(toolBar)
250 250
251 # step 3: set the actions as requested 251 # step 3: set the actions as requested
252 newActionsWithSeparators = [] 252 newActionsWithSeparators = []
253 for action in newActions: 253 for action in newActions:
254 newAction = None 254 newAction = None

eric ide

mercurial