Fix hidden Dev Tools menu item in development runs

This commit is contained in:
Fedor Indutny 2021-03-08 14:44:50 -08:00 committed by Josh Perez
parent 729d808f62
commit cee8207e72

View file

@ -1170,13 +1170,13 @@ function setupMenu(options) {
...options, ...options,
development, development,
isBeta: isBeta(app.getVersion()), isBeta: isBeta(app.getVersion()),
devTools: defaultWebPrefs.devTools,
showDebugLog: showDebugLogWindow, showDebugLog: showDebugLogWindow,
showKeyboardShortcuts, showKeyboardShortcuts,
showWindow, showWindow,
showAbout, showAbout,
showSettings: showSettingsWindow, showSettings: showSettingsWindow,
showStickerCreator, showStickerCreator,
showDevTools: defaultWebPrefs.devTools,
openContactUs, openContactUs,
openJoinTheBeta, openJoinTheBeta,
openReleaseNotes, openReleaseNotes,