Commit 3acfe7b571ec1003fe0ded5731ec331ac0d51182

Authored by tatiana
1 parent a834c63d

ENH: Ok->Import button on ImportPanel (fix #222)

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
invesalius/gui/import_panel.py
@@ -89,11 +89,8 @@ class InnerPanel(wx.Panel): @@ -89,11 +89,8 @@ class InnerPanel(wx.Panel):
89 self.splitter = splitter 89 self.splitter = splitter
90 90
91 panel = wx.Panel(self) 91 panel = wx.Panel(self)
92 - #button = wx.Button(panel, -1, _("Import medical images"), (20, 20))  
93 -  
94 - self.btn_ok = wx.Button(panel, wx.ID_OK)  
95 - #self.btn_ok.SetDefault()  
96 self.btn_cancel = wx.Button(panel, wx.ID_CANCEL) 92 self.btn_cancel = wx.Button(panel, wx.ID_CANCEL)
  93 + self.btn_ok = wx.Button(panel, wx.ID_OK, _("Import"))
97 94
98 btnsizer = wx.StdDialogButtonSizer() 95 btnsizer = wx.StdDialogButtonSizer()
99 btnsizer.AddButton(self.btn_ok) 96 btnsizer.AddButton(self.btn_ok)