From 8500fcdccaa10b5099ac20d252af3a7c560046f1 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Mon, 6 Jul 2026 22:16:28 +0800 Subject: [PATCH] Fix version was not properly updated on non windows OS (#14617) Fixed an issue where on non-Windows systems, the version was not properly written to the appconfig. --- src/slic3r/GUI/GUI_App.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 726ff5a007..5673304607 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2839,10 +2839,11 @@ bool GUI_App::on_init_inner() //update_label_colours_from_appconfig(); } if (bool new_sys_menu_enabled = app_config->get("sys_menu_enabled") == "1"; - init_sys_menu_enabled != new_sys_menu_enabled) + init_sys_menu_enabled != new_sys_menu_enabled) { #ifdef __WINDOWS__ NppDarkMode::SetSystemMenuForApp(new_sys_menu_enabled); #endif + } #endif // Orca: we allow user to pin the version of plugin, so we don't need to remove old networking plugins when the app version is updated