finish quick menu
This commit is contained in:
parent
c0cb26a991
commit
276c33c834
@ -77,7 +77,7 @@ class quickMenuManager():
|
|||||||
value += 0.05
|
value += 0.05
|
||||||
if value > 1.0:
|
if value > 1.0:
|
||||||
value = 1.0
|
value = 1.0
|
||||||
self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:3])
|
self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:4])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
@ -111,7 +111,7 @@ class quickMenuManager():
|
|||||||
value -= 0.05
|
value -= 0.05
|
||||||
if value < 0.0:
|
if value < 0.0:
|
||||||
value = 0.0
|
value = 0.0
|
||||||
self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:3])
|
self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:4])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user