finish quick menu

This commit is contained in:
chrys
2019-02-14 00:12:29 +01:00
parent 4178c37b72
commit 93b5498e04
3 changed files with 11 additions and 16 deletions

View File

@ -21,5 +21,3 @@ class command():
self.env['runtime']['outputManager'].presentText(value, interrupt=True)
def setCallback(self, callback):
pass
def setCallback(self, callback):
pass

View File

@ -16,11 +16,8 @@ class command():
def getDescription(self):
return _('get next quick menu value')
def run(self):
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)
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