diff --git a/src/index.js b/src/index.js index 9d56d42..fb645f8 100644 --- a/src/index.js +++ b/src/index.js @@ -130,7 +130,7 @@ function createSplashScreen() { splash_screen.loadFile(path.join(app.getAppPath(), "src/splash.html")); // Open the DevTools. - splash_screen.webContents.openDevTools(); + // splash_screen.webContents.openDevTools(); // store.openInEditor(); } @@ -151,7 +151,7 @@ function createEditorWindow(json) { main_window.webContents.send("open", json); }); // Open the DevTools. - main_window.webContents.openDevTools(); + // main_window.webContents.openDevTools(); return main_window; } @@ -317,6 +317,18 @@ function update_1_0_0_schema(json) { delete row_data[old_key]; }); }); + if (!table_data.hasOwnProperty("filter")) { + table_data["filter"] = false; + } + if (!table_data.hasOwnProperty("hidden")) { + table_data["hidden"] = false; + } + if (!table_data.hasOwnProperty("tab_name")) { + table_data["tab_name"] = ""; + } + if (!table_data.hasOwnProperty("description")) { + table_data["description"] = ""; + } }); json = { "version": "1.1.0",