Commit 8a54181bba6f601aed5f49b8ef3e81a9fb12748c
1 parent
2fade61a
Exists in
master
Closing bmp spacing dialog after setting project
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/gui/dialogs.py
... | ... | @@ -2108,9 +2108,6 @@ class ImportBitmapParameters(wx.Dialog): |
2108 | 2108 | self.interval = v |
2109 | 2109 | |
2110 | 2110 | def OnOk(self, evt): |
2111 | - self.Close() | |
2112 | - self.Destroy() | |
2113 | - | |
2114 | 2111 | orient_selection = self.cb_orientation.GetSelection() |
2115 | 2112 | |
2116 | 2113 | if(orient_selection == 1): |
... | ... | @@ -2125,6 +2122,9 @@ class ImportBitmapParameters(wx.Dialog): |
2125 | 2122 | self.fsp_spacing_z.GetValue(), self.interval] |
2126 | 2123 | Publisher.sendMessage('Open bitmap files', values) |
2127 | 2124 | |
2125 | + self.Close() | |
2126 | + self.Destroy() | |
2127 | + | |
2128 | 2128 | |
2129 | 2129 | def BitmapNotSameSize(): |
2130 | 2130 | ... | ... |