Commit 3133bdb9ba9a4ebe653c131e317910df3c3a3716

Authored by Thiago Franco de Moraes
1 parent 590b4dd2

Added a menu to mask operations (booleans is there)

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
invesalius/gui/frame.py
@@ -609,7 +609,10 @@ class MenuBar(wx.MenuBar): @@ -609,7 +609,10 @@ class MenuBar(wx.MenuBar):
609 #app(const.ID_EDIT_LIST, "Show Undo List...") 609 #app(const.ID_EDIT_LIST, "Show Undo List...")
610 ################################################################# 610 #################################################################
611 611
612 - file_edit.Append(const.ID_BOOLEAN_MASK, _(u"Boolean operations")) 612 + # Mask Menu
  613 + mask_menu = wx.Menu()
  614 + mask_menu.Append(const.ID_BOOLEAN_MASK, _(u"Boolean operations"))
  615 + file_edit.AppendMenu(-1, _(u"Mask"), mask_menu)
613 616
614 617
615 # VIEW 618 # VIEW