mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-1478: make dev tools menu dynamic
This commit is contained in:
parent
4317b0592a
commit
a28bdb69b1
@ -410,6 +410,7 @@ export class AppMenu {
|
||||
}, {
|
||||
label: i18n.t('Toggle Developer Tools')(),
|
||||
accelerator: isMac ? 'Alt+Command+I' : 'Ctrl+Shift+I',
|
||||
visible: devToolsEnabled,
|
||||
click(_item, focusedWindow) {
|
||||
if (!focusedWindow || !windowExists(focusedWindow)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user