sync
This commit is contained in:
parent
0059fedd3c
commit
4178c37b72
@ -121,7 +121,7 @@ KEY_FENRIR,KEY_CTRL,KEY_SPACE=current_quick_menu_value
|
||||
KEY_FENRIR,KEY_RIGHT=next_quick_menu_entry
|
||||
KEY_FENRIR,KEY_UP=next_quick_menu_value
|
||||
KEY_FENRIR,KEY_LEFT=prev_quick_menu_entry
|
||||
KEY_FENRIR<KEY_DOWN=prev_quick_menu_value
|
||||
KEY_FENRIR,KEY_DOWN=prev_quick_menu_value
|
||||
# linux specific
|
||||
KEY_FENRIR,KEY_F7=import_clipboard_from_x
|
||||
KEY_FENRIR,KEY_F8=export_clipboard_to_x
|
||||
|
@ -16,10 +16,11 @@ class command():
|
||||
def getDescription(self):
|
||||
return _('get next quick menu value')
|
||||
def run(self):
|
||||
if self.env['runtime']['quickMenuManager'].nextValue():
|
||||
value = self.env['runtime']['quickMenuManager'].getCurrentValue()
|
||||
self.env['runtime']['outputManager'].presentText(value, interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
try:
|
||||
if self.env['runtime']['quickMenuManager'].nextValue():
|
||||
value = self.env['runtime']['quickMenuManager'].getCurrentValue()
|
||||
self.env['runtime']['outputManager'].presentText(value, interrupt=True)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
@ -55,7 +55,7 @@ class quickMenuManager():
|
||||
setting = self.quickMenu[self.position]['setting']
|
||||
valueString = ''
|
||||
try:
|
||||
valueString = self.env['runtime']['settingsManager'].getSetting(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'])
|
||||
valueString = self.env['runtime']['settingsManager'].getSetting(section, setting)
|
||||
except:
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user