Fix bug in centerX/Y update.

This commit is contained in:
daid 2012-04-23 11:09:56 +02:00
parent bdaceed7fd
commit 510aa7fed2

View 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, ''