449 self.__restoreCurrentToolbar(actions) |
449 self.__restoreCurrentToolbar(actions) |
450 self.__currentToolBarItem.isChanged = False |
450 self.__currentToolBarItem.isChanged = False |
451 |
451 |
452 def __restoreCurrentToolbarToDefault(self): |
452 def __restoreCurrentToolbarToDefault(self): |
453 """ |
453 """ |
454 Private method to set the current toolbar to it's default configuration. |
454 Private method to set the current toolbar to its default configuration. |
455 """ |
455 """ |
456 if not self.__currentToolBarItem.isDefault: |
456 if not self.__currentToolBarItem.isDefault: |
457 return |
457 return |
458 |
458 |
459 tbID = self.__currentToolBarItem.toolBarId |
459 tbID = self.__currentToolBarItem.toolBarId |