- the application now uses only the default values from the app.options dict, the app.defaults dict holds the definitive default values
- fixed some outstanding issues from the PyQt6 port - PEP8 fixes - minor fixes - updated the saving of Preferences to update the self.options too: the `Apply` action will update the self.options but the `Save` action will save the updated preferences to the file on disk
This commit is contained in:
@@ -331,7 +331,7 @@ class PcbWizard(AppTool):
|
||||
self.process_finished = True
|
||||
|
||||
# Register recent file
|
||||
self.app.defaults["global_last_folder"] = os.path.split(str(filename))[0]
|
||||
self.app.options["global_last_folder"] = os.path.split(str(filename))[0]
|
||||
|
||||
def on_import_excellon(self, signal=None, excellon_fileobj=None):
|
||||
self.app.log.debug("import_2files_excellon()")
|
||||
|
||||
Reference in New Issue
Block a user