Commit a9ad208eb22fb7f73dd30118a4a1743703cddb50
1 parent
15a011e0
Exists in
master
and in
68 other branches
ENH: Error messages are being saved into file when InVesalius is runned from win exe
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
invesalius/gui/frame.py
... | ... | @@ -55,7 +55,8 @@ class Frame(wx.Frame): |
55 | 55 | self.Center(wx.BOTH) |
56 | 56 | icon_path = os.path.join(const.ICON_DIR, "invesalius.ico") |
57 | 57 | self.SetIcon(wx.Icon(icon_path, wx.BITMAP_TYPE_ICO)) |
58 | - #self.Maximize() | |
58 | + if sys.platform != 'darwin': | |
59 | + self.Maximize() | |
59 | 60 | |
60 | 61 | # Set menus, status and task bar |
61 | 62 | self.SetMenuBar(MenuBar(self)) | ... | ... |