mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 00:06:03 +08:00
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:
parent
74d7b92dc4
commit
ab1e4729ad
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user