fix return

This commit is contained in:
chrys 2019-02-13 23:27:20 +01:00
parent 514b5368b4
commit 38fca03d4a

View File

@ -62,7 +62,7 @@ class quickMenuManager():
self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value)
return True
except:
pass
return False
return True
def prevValue(self):
if len(self.quickMenu) == 0:
@ -86,7 +86,7 @@ class quickMenuManager():
self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value)
return True
except:
pass
return False
return True
def getCurrentEntry(self):
if len(self.quickMenu) == 0: