Fix bug in centerX/Y update.
This commit is contained in:
parent
bdaceed7fd
commit
510aa7fed2
1 changed files with 3 additions and 7 deletions
|
|
@ -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, ''
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue