Commits

André Sintzoff committed bf63c04

workbench: switch Sync and Custom toolbars as Sync one has variable length

When the URL combobox in the Sync is resized, there is no move of other
toolbars.

  • Participants
  • Parent commits 6b881ff
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

         self.addToolBar(self.edittbar)
         self.docktbar = QToolBar(_("&Dock Toolbar"), objectName='docktbar')
         self.addToolBar(self.docktbar)
-        self.synctbar = QToolBar(_('S&ync Toolbar'), objectName='synctbar')
-        self.addToolBar(self.synctbar)
         self.tasktbar = QToolBar(_('&Task Toolbar'), objectName='taskbar')
         self.addToolBar(self.tasktbar)
         self.customtbar = QToolBar(_('&Custom Toolbar'), objectName='custombar')
         self.addToolBar(self.customtbar)
+        self.synctbar = QToolBar(_('S&ync Toolbar'), objectName='synctbar')
+        self.addToolBar(self.synctbar)
 
         # availability map of actions; applied by updateMenu()
         self._actionavails = {'repoopen': []}