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:
bdaceed
)
Fix bug in centerX/Y update.
author
daid
<daid303@gmail.com>
Mon, 23 Apr 2012 09:09:56 +0000
(11:09 +0200)
committer
daid
<daid303@gmail.com>
Mon, 23 Apr 2012 09:09:56 +0000
(11:09 +0200)
Cura/gui/configBase.py
patch
|
blob
|
history
diff --git
a/Cura/gui/configBase.py
b/Cura/gui/configBase.py
index aeaaaf87d55b994f1a780b28157d4cd199dddf0a..40026d1e895b493a71c1953c5d87d5766199a304 100644
(file)
--- a/
Cura/gui/configBase.py
+++ b/
Cura/gui/configBase.py
@@
-189,10
+189,6
@@
class settingNotify():
self.func = func
def validate(self):
- try:
- f = float(self.setting.GetValue())
- self.func(f)
- return validators.SUCCESS, ''
- except ValueError:
- self.func()
- return validators.SUCCESS, ''
+ self.func()
+ return validators.SUCCESS, ''
+