On close we have a "deselection" on the listbox, but the 3D preview is deleted then already, so we do not need to do a refresh then
This commit is contained in:
1 parent
74d7b92dc4
commit
ab1e4729ad
1 file changed
+2
@@ -162,6 +162,8 @@ class projectPlanner(wx.Frame):
|
||||
self.preview.Refresh()
|
||||
|
||||
def OnListSelect(self, e):
|
||||
if self.listbox.GetSelection() == -1:
|
||||
return
|
||||
self.selection = self.list[self.listbox.GetSelection()]
|
||||
self.preview.Refresh()
|
||||
|
||||
|
||||
Reference in new issue
Block a user