chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d7b92
)
On close we have a "deselection" on the listbox, but the 3D preview is deleted then...
author
daid
<daid303@gmail.com>
Fri, 20 Apr 2012 12:23:11 +0000
(14:23 +0200)
committer
daid
<daid303@gmail.com>
Fri, 20 Apr 2012 12:23:11 +0000
(14:23 +0200)
Cura/gui/projectPlanner.py
patch
|
blob
|
history
diff --git
a/Cura/gui/projectPlanner.py
b/Cura/gui/projectPlanner.py
index 14002802d1c2172ecc368d139c97736221b473bf..8f93a94bbb36466808458fc34b950183e44e225b 100644
(file)
--- a/
Cura/gui/projectPlanner.py
+++ b/
Cura/gui/projectPlanner.py
@@
-162,6
+162,8
@@
class projectPlanner(wx.Frame):
self.preview.Refresh()
\r
\r
def OnListSelect(self, e):
\r
+ if self.listbox.GetSelection() == -1:
\r
+ return
\r
self.selection = self.list[self.listbox.GetSelection()]
\r
self.preview.Refresh()
\r
\r