Commit 02c0f793d7d29eab46fe00850f6869fe6d1d4af1

Authored by Thiago Franco de Moraes
1 parent 7beb91c3

problem with combobox in mac

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/gui/task_surface.py
... ... @@ -405,9 +405,9 @@ class SurfaceProperties(wx.Panel):
405 405 ## LINE 1
406 406  
407 407 # Combo related to mask naem
408   - combo_surface_name = wx.ComboBox(self, -1, "",
  408 + combo_surface_name = wx.ComboBox(self, -1,
409 409 style=wx.CB_DROPDOWN|wx.CB_READONLY)
410   - combo_surface_name.SetSelection(0)
  410 + #combo_surface_name.SetSelection(0)
411 411 if sys.platform != 'win32':
412 412 combo_surface_name.SetWindowVariant(wx.WINDOW_VARIANT_SMALL)
413 413 combo_surface_name.Bind(wx.EVT_COMBOBOX, self.OnComboName)
... ...