Mon, 15 Aug 2016 16:27:49 +0200
Introduced a little change to prevent a sorting issue when building the toolbars menu.
(grafted from d983e6405e4528f751907f224fd8605e0cee92f4)
UI/UserInterface.py | file | annotate | diff | comparison | revisions |
--- a/UI/UserInterface.py Wed Aug 10 16:25:14 2016 +0200 +++ b/UI/UserInterface.py Mon Aug 15 16:27:49 2016 +0200 @@ -3489,7 +3489,7 @@ for name, (text, tb) in list(self.__toolbars.items()): tbList.append((text, tb, name)) - for text, tb, name in sorted(tbList): + for text, tb, name in sorted(tbList, key=lambda t: t[0]): act = menu.addAction(text) act.setCheckable(True) act.setChecked(not tb.isHidden())