diff options
author | 2021-09-12 19:10:13 +0200 | |
---|---|---|
committer | 2021-09-12 19:10:13 +0200 | |
commit | 2cb4834990192f6be41f6a0a73a3301b1304de30 (patch) | |
tree | 1569d379c5ab66042386b7d46133728ea2f47d26 /src/lib | |
parent | docs: updated Changelog (diff) | |
download | ferdium-app-2cb4834990192f6be41f6a0a73a3301b1304de30.tar.gz ferdium-app-2cb4834990192f6be41f6a0a73a3301b1304de30.tar.zst ferdium-app-2cb4834990192f6be41f6a0a73a3301b1304de30.zip |
fix: no top menu at all (#1917)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 2c24b696b..324838441 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -601,7 +601,10 @@ export default class FranzMenu { | |||
601 | type: 'question', | 601 | type: 'question', |
602 | message: intl.formatMessage(globalMessages.quit), | 602 | message: intl.formatMessage(globalMessages.quit), |
603 | detail: intl.formatMessage(globalMessages.quitConfirmation), | 603 | detail: intl.formatMessage(globalMessages.quitConfirmation), |
604 | buttons: [intl.formatMessage(globalMessages.yes), intl.formatMessage(globalMessages.no)], | 604 | buttons: [ |
605 | intl.formatMessage(globalMessages.yes), | ||
606 | intl.formatMessage(globalMessages.no), | ||
607 | ], | ||
605 | }); | 608 | }); |
606 | } | 609 | } |
607 | if (selection === yesButtonIndex) { | 610 | if (selection === yesButtonIndex) { |
@@ -857,7 +860,7 @@ export default class FranzMenu { | |||
857 | } else { | 860 | } else { |
858 | tpl[0].submenu = [ | 861 | tpl[0].submenu = [ |
859 | { | 862 | { |
860 | label: intl.formatMessage(menuItems.settings), | 863 | label: intl.formatMessage(globalMessages.settings), |
861 | accelerator: `${settingsShortcutKey()}`, | 864 | accelerator: `${settingsShortcutKey()}`, |
862 | click: () => { | 865 | click: () => { |
863 | this.actions.ui.openSettings({ path: 'app' }); | 866 | this.actions.ui.openSettings({ path: 'app' }); |