Skip to content

Commit

Permalink
Start: Fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexbas authored and chennes committed Apr 24, 2024
1 parent 5b169de commit 2465749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Start/StartMigrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run_migration(self):
# If the old Start workbench was set as the Autoload Module, reconfigure it so the Start command is run at startup,

Check warning on line 62 in src/Mod/Start/StartMigrator.py

View workflow job for this annotation

GitHub Actions / Lint / Lint

Line too long (119/100) (line-too-long)
# 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")
Expand Down Expand Up @@ -101,7 +101,7 @@ def _remove_toolbars(self):

# 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(
Expand Down

0 comments on commit 2465749

Please sign in to comment.