From 3133bdb9ba9a4ebe653c131e317910df3c3a3716 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Mon, 20 Apr 2015 10:45:30 -0300 Subject: [PATCH] Added a menu to mask operations (booleans is there) --- invesalius/gui/frame.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invesalius/gui/frame.py b/invesalius/gui/frame.py index d860192..2654ef4 100644 --- a/invesalius/gui/frame.py +++ b/invesalius/gui/frame.py @@ -609,7 +609,10 @@ class MenuBar(wx.MenuBar): #app(const.ID_EDIT_LIST, "Show Undo List...") ################################################################# - file_edit.Append(const.ID_BOOLEAN_MASK, _(u"Boolean operations")) + # Mask Menu + mask_menu = wx.Menu() + mask_menu.Append(const.ID_BOOLEAN_MASK, _(u"Boolean operations")) + file_edit.AppendMenu(-1, _(u"Mask"), mask_menu) # VIEW -- libgit2 0.21.2