Commit cb4d834ec47e34e18992ecc2d30c594df31d23b9
1 parent
76643a9e
Exists in
master
and in
25 other branches
Using detach instead of remove to remove MIPConfig from ViewerSlice
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -1440,7 +1440,7 @@ class Viewer(wx.Panel): |
1440 | 1440 | self.Layout() |
1441 | 1441 | else: |
1442 | 1442 | self.mip_ctrls.Hide() |
1443 | - self.GetSizer().Remove(self.mip_ctrls) | |
1443 | + self.GetSizer().Detach(self.mip_ctrls) | |
1444 | 1444 | self.Layout() |
1445 | 1445 | |
1446 | 1446 | def OnSetOverwriteMask(self, pubsub_evt): | ... | ... |