Commit 8ecc0900accab316b81d3ff2f5116460c93a1a3d

Authored by Thiago Franco de Moraes
1 parent f17a7a4f
Exists in master

Not sorting window level names in viewer slice menu (FIX #271)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/widgets/slice_menu.py
... ... @@ -67,7 +67,7 @@ class SliceMenu(wx.Menu):
67 67 submenu_wl.Append(wl_item)
68 68 self.ID_TO_TOOL_ITEM[new_id] = wl_item
69 69  
70   - for name in sorted(const.WINDOW_LEVEL):
  70 + for name in const.WINDOW_LEVEL:
71 71 if not(name == _('Default') or name == _('Manual')):
72 72 new_id = wx.NewId()
73 73 wl_item = wx.MenuItem(submenu_wl, new_id,\
... ...