TagSpaces is an offline, open source, document manager with tagging support
fixing closing app issue, rearranging help menu
Ilian Sapundshievcbeb62735c13
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.jsindex 4eb2b6d03..9891f1d6f 100644--- a/data/electron/electron.api.js+++ b/data/electron/electron.api.js@@ -59,7 +59,6 @@ define(function(require, exports, module) {{label: $.i18n.t("ns.common:openNewInstance"),accelerator: '',- //click: TSCORE.UI.openNewInstanceclick: function() {ipcRenderer.send("new-win", "newWin");}@@ -128,12 +127,8 @@ define(function(require, exports, module) {label: $.i18n.t("ns.common:exitApp"),accelerator: '',click: function() {- if (!TSCORE.currentPath) {- TSCORE.showAlertDialog("Not open current directory !");- } else {- TSCORE.Config.saveSettings();- ipcRenderer.send('quit-application', 'Bye, bye...');- }+ //TSCORE.Config.saveSettings();+ ipcRenderer.send('quit-application', 'Bye, bye...');}}]@@ -230,16 +225,10 @@ define(function(require, exports, module) {label: $.i18n.t("ns.common:help"),submenu: [{- label: $.i18n.t("ns.common:shortcutKeys"),accelerator: "F1",+ label: $.i18n.t("ns.common:documentation"),click: function() {- TSCORE.UI.showKeysDialog();- }- },- {- label: $.i18n.t("ns.common:license"),- click: function() {- TSCORE.UI.showLicenseDialog();+ TSCORE.UI.showDocumentation();}},{@@ -249,9 +238,9 @@ define(function(require, exports, module) {}},{- label: $.i18n.t("ns.common:documentation"),+ label: $.i18n.t("ns.common:shortcutKeys"),click: function() {- TSCORE.UI.showDocumentation();+ TSCORE.UI.showKeysDialog();}},{@@ -296,6 +285,15 @@ define(function(require, exports, module) {TSCORE.UI.reportIssues();}},+ {+ type: 'separator'+ },+ {+ label: $.i18n.t("ns.common:license"),+ click: function() {+ TSCORE.UI.showLicenseDialog();+ }+ },{label: $.i18n.t("ns.common:aboutTagSpaces"),click: function() {