- working to differentiate between temporary units change and permanent units change

This commit is contained in:
Marius Stanciu
2021-09-27 17:28:54 +03:00
committed by Marius
parent 89426e8ac3
commit 3fc0ab826f
50 changed files with 185 additions and 186 deletions

View File

@@ -218,7 +218,7 @@ class SolderPaste(AppTool):
self.name = ""
self.obj = None
self.units = self.app.defaults['units'].upper()
self.units = self.app.app_units.upper()
for name in self.app.preprocessors.keys():
# populate only with preprocessor files that start with 'Paste_'
@@ -242,7 +242,7 @@ class SolderPaste(AppTool):
self.ui_disconnect()
# updated units
self.units = self.app.defaults['units'].upper()
self.units = self.app.app_units.upper()
sorted_tools = []
for k, v in self.tooltable_tools.items():