diff --git a/src/app/mainview/js/keyboardshortcuttablecreation.js b/src/app/mainview/js/keyboardshortcuttablecreation.js index 8e327a4351aac2c1b64083a0958f5eeb1f2f3fd2..420d166722017f2b148166a1b6d4fb26cae2e4ef 100644 --- a/src/app/mainview/js/keyboardshortcuttablecreation.js +++ b/src/app/mainview/js/keyboardshortcuttablecreation.js @@ -46,7 +46,6 @@ function finishCreation() { } function showKeyboardShortcutTableWindow() { - keyboardShortcutTableWindowObject.show() var centerX = mainWindow.x + mainWindow.width / 2 var centerY = mainWindow.y + mainWindow.height / 2 @@ -54,6 +53,11 @@ function showKeyboardShortcutTableWindow() { keyboardShortcutTableWindowObject.height = 0.75 * appWindow.height keyboardShortcutTableWindowObject.x = centerX - keyboardShortcutTableWindowObject.width / 2 keyboardShortcutTableWindowObject.y = centerY - keyboardShortcutTableWindowObject.height / 2 + + keyboardShortcutTableWindowObject.visible = true + keyboardShortcutTableWindowObject.show() + keyboardShortcutTableWindowObject.raise() + keyboardShortcutTableWindowObject.requestActivate() } // Destroy and reset selectScreenWindowObject when window is closed.