chiark / gitweb /
Fix bug in centerX/Y update.
authordaid <daid303@gmail.com>
Mon, 23 Apr 2012 09:09:56 +0000 (11:09 +0200)
committerdaid <daid303@gmail.com>
Mon, 23 Apr 2012 09:09:56 +0000 (11:09 +0200)
Cura/gui/configBase.py

index aeaaaf87d55b994f1a780b28157d4cd199dddf0a..40026d1e895b493a71c1953c5d87d5766199a304 100644 (file)
@@ -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, ''
+