From 24657494c9b142e688c1910ecb34083f88ef78be Mon Sep 17 00:00:00 2001 From: Bas Ruigrok Date: Tue, 23 Apr 2024 18:27:16 +0200 Subject: [PATCH] Start: Fix migration script --- src/Mod/Start/StartMigrator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Start/StartMigrator.py b/src/Mod/Start/StartMigrator.py index 9071de2ca3..18c1476341 100644 --- a/src/Mod/Start/StartMigrator.py +++ b/src/Mod/Start/StartMigrator.py @@ -62,7 +62,7 @@ class StartMigrator2024: # If the old Start workbench was set as the Autoload Module, reconfigure it so the Start command is run at startup, # and set the Autoload module to "PartDesignWorkbench" def _update_startup_flags(self): - autoload_module = self.general_prefs.GetString("AutoloadModule", "") + autoload_module = self.general_prefs.GetString("AutoloadModule", "StartWorkbench") if autoload_module == "StartWorkbench": self.start_prefs.SetBool("ShowOnStartup", True) self.general_prefs.SetString("AutoloadModule", "PartDesignWorkbench") @@ -101,7 +101,7 @@ class StartMigrator2024: # Delete old Start preferences def _remove_deprecated_parameters(self): - show_on_startup = self.start_prefs.GetBool("", False) + show_on_startup = self.start_prefs.GetBool("ShowOnStartup", True) show_examples = self.start_prefs.GetBool("ShowExamples", True) close_start = self.start_prefs.GetBool("closeStart", False) custom_folder = self.start_prefs.GetString(