Commit f0ac71e49f3c853b631a45f74df65be5ba21359a
1 parent
848b9e31
Exists in
master
and in
68 other branches
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 | 441 | # In MacOS X and Windows, binding parent menu is enough. But |
442 | 442 | # not in GNU Linux - in the last it is necessary to bind the |
443 | 443 | # submenu |
444 | - if sys.platform == 'linux2': | |
444 | + if sys.platform != 'win32': | |
445 | 445 | submenu.Bind(wx.EVT_MENU, self.OnMenuRaycasting) |
446 | 446 | menu.Bind(wx.EVT_MENU, self.OnMenuRaycasting) |
447 | 447 | ... | ... |