Mon, 15 Aug 2016 16:27:49 +0200
Introduced a little change to prevent a sorting issue when building the toolbars menu.
UI/UserInterface.py | file | annotate | diff | comparison | revisions |
--- a/UI/UserInterface.py Thu Aug 11 16:13:37 2016 +0200 +++ b/UI/UserInterface.py Mon Aug 15 16:27:49 2016 +0200 @@ -3543,7 +3543,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())