- in Gerber Editor fixed adding a new aperture with code 0

- in Gerber Editor when the aperture size is 0.0 then automatically add a new aperture with code 0
- in Gerber Editor -> Eraser tool: when deleting all geometry in an aperture then the aperture is deleted too
This commit is contained in:
Marius Stanciu
2022-02-22 20:11:06 +02:00
committed by Marius
parent 666f7cac55
commit f016214481
3 changed files with 49 additions and 44 deletions

View File

@@ -618,6 +618,7 @@ class App(QtCore.QObject):
# self.preferencesUiManager.show_preferences_gui()
self.app_units = self.options["units"]
self.default_units = self.defaults["units"]
if self.app_units == 'MM':
self.decimals = int(self.options['decimals_metric'])