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:
963c965
)
Remove focus from scale tools when window is hidden.
author
daid303
<daid303@gmail.com>
Tue, 16 Apr 2013 14:40:13 +0000
(16:40 +0200)
committer
daid303
<daid303@gmail.com>
Tue, 16 Apr 2013 14:40:13 +0000
(16:40 +0200)
Cura/gui/util/openglGui.py
patch
|
blob
|
history
diff --git
a/Cura/gui/util/openglGui.py
b/Cura/gui/util/openglGui.py
index a3b9588c10efb2dd54acd45c94b7fa10002630b2..2ef5f35f7147c400617f55c3fe5a1a096a423e05 100644
(file)
--- a/
Cura/gui/util/openglGui.py
+++ b/
Cura/gui/util/openglGui.py
@@
-596,6
+596,9
@@
class glFrame(glGuiContainer):
def setHidden(self, value):
self._hidden = value
+ for child in self._glGuiControlList:
+ if self._base._focus == child:
+ self._base._focus = None
def getSelected(self):
return self._selected