Saving and retrieving shortcut keys
This commit is contained in:
1 parent
af1683b5aa
commit
3ec14cb02d
2 files changed
+7
No files matched your search
@@ -19,6 +19,7 @@ function newStrategyPart () {
|
||||
circularProgressBar: undefined,
|
||||
isExecuting: undefined,
|
||||
isRunning: undefined,
|
||||
shortcutKey: undefined,
|
||||
run: run,
|
||||
stop: stop,
|
||||
getReadyToAttach: getReadyToAttach,
|
||||
|
||||
@@ -73,6 +73,12 @@ function newStrategyPartConstructor () {
|
||||
|
||||
floatingLayer.addFloatingObject(floatingObject)
|
||||
|
||||
if (payload.node.savedPayload !== undefined) {
|
||||
if (payload.node.savedPayload.uiObject !== undefined) {
|
||||
payload.uiObject.shortcutKey = payload.node.savedPayload.uiObject.shortcutKey
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user