- 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:
@@ -183,7 +183,7 @@ class ToolEtchCompensation(AppTool):
|
||||
ratio_type = self.ui.ratio_radio.get_value()
|
||||
thickness = self.ui.thick_entry.get_value() / 1000 # in microns
|
||||
|
||||
grb_circle_steps = int(self.app.defaults["gerber_circle_steps"])
|
||||
grb_circle_steps = int(self.app.options["gerber_circle_steps"])
|
||||
obj_name = self.ui.gerber_combo.currentText()
|
||||
|
||||
outname = obj_name + "_comp"
|
||||
|
||||
Reference in New Issue
Block a user