Commit f0ac71e49f3c853b631a45f74df65be5ba21359a

Authored by tatiana
1 parent 848b9e31

FIX: Volume crop plane under darwin

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/default_viewers.py
@@ -441,7 +441,7 @@ class VolumeToolPanel(wx.Panel): @@ -441,7 +441,7 @@ class VolumeToolPanel(wx.Panel):
441 # In MacOS X and Windows, binding parent menu is enough. But 441 # In MacOS X and Windows, binding parent menu is enough. But
442 # not in GNU Linux - in the last it is necessary to bind the 442 # not in GNU Linux - in the last it is necessary to bind the
443 # submenu 443 # submenu
444 - if sys.platform == 'linux2': 444 + if sys.platform != 'win32':
445 submenu.Bind(wx.EVT_MENU, self.OnMenuRaycasting) 445 submenu.Bind(wx.EVT_MENU, self.OnMenuRaycasting)
446 menu.Bind(wx.EVT_MENU, self.OnMenuRaycasting) 446 menu.Bind(wx.EVT_MENU, self.OnMenuRaycasting)
447 447