Commit a9ad208eb22fb7f73dd30118a4a1743703cddb50

Authored by tatiana
1 parent 15a011e0

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,7 +55,8 @@ class Frame(wx.Frame):
55 self.Center(wx.BOTH) 55 self.Center(wx.BOTH)
56 icon_path = os.path.join(const.ICON_DIR, "invesalius.ico") 56 icon_path = os.path.join(const.ICON_DIR, "invesalius.ico")
57 self.SetIcon(wx.Icon(icon_path, wx.BITMAP_TYPE_ICO)) 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 # Set menus, status and task bar 61 # Set menus, status and task bar
61 self.SetMenuBar(MenuBar(self)) 62 self.SetMenuBar(MenuBar(self))