Commit 3acfe7b571ec1003fe0ded5731ec331ac0d51182
1 parent
a834c63d
Exists in
master
and in
6 other branches
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 | 89 | self.splitter = splitter |
90 | 90 | |
91 | 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 | 92 | self.btn_cancel = wx.Button(panel, wx.ID_CANCEL) |
93 | + self.btn_ok = wx.Button(panel, wx.ID_OK, _("Import")) | |
97 | 94 | |
98 | 95 | btnsizer = wx.StdDialogButtonSizer() |
99 | 96 | btnsizer.AddButton(self.btn_ok) | ... | ... |