Update set_bookmark_1.py
This commit is contained in:
parent
89abf00a27
commit
8e445bfa86
@ -21,12 +21,7 @@ class command():
|
||||
if not self.env['commandBuffer']['Marks']['1']:
|
||||
self.env['runtime']['outputManager'].presentText("No Mark found", interrupt=True)
|
||||
return
|
||||
currApp = ''
|
||||
try:
|
||||
currApp = str(self.env['screenData']['newApplication'][0])
|
||||
except Exception as e:
|
||||
print(e)
|
||||
currApp = 'DEFAULT'
|
||||
currApp = self.environment['runtime']['applicationManager'].getCurrentApplication()
|
||||
self.env['commandBuffer']['bookMarks'][self.ID][currApp] = {}
|
||||
|
||||
self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1'] = self.env['commandBuffer']['Marks']['1'].copy()
|
||||
|
Loading…
Reference in New Issue
Block a user