fix return
This commit is contained in:
parent
514b5368b4
commit
38fca03d4a
@ -62,7 +62,7 @@ class quickMenuManager():
|
|||||||
self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value)
|
self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value)
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
pass
|
return False
|
||||||
return True
|
return True
|
||||||
def prevValue(self):
|
def prevValue(self):
|
||||||
if len(self.quickMenu) == 0:
|
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)
|
self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value)
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
pass
|
return False
|
||||||
return True
|
return True
|
||||||
def getCurrentEntry(self):
|
def getCurrentEntry(self):
|
||||||
if len(self.quickMenu) == 0:
|
if len(self.quickMenu) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user