mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 08:16:03 +08:00
Fix bug in centerX/Y update.
This commit is contained in:
parent
bdaceed7fd
commit
510aa7fed2
@ -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…
x
Reference in New Issue
Block a user