- in Excellon UI protected the values that are common parameters from change on tool selection change

This commit is contained in:
Marius Stanciu 2020-02-17 05:19:21 +02:00 committed by Marius
parent ea1b99242c
commit ae22ddb516
2 changed files with 3 additions and 1 deletions

View File

@ -3028,7 +3028,8 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
def storage_to_form(self, dict_storage):
for form_key in self.form_fields:
for storage_key in dict_storage:
if form_key == storage_key:
if form_key == storage_key and form_key not in \
["toolchangez", "startz", "endz", "ppname_e", "ppname_g"]:
try:
self.form_fields[form_key].set_value(dict_storage[form_key])
except Exception as e:

View File

@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
- updated the Excellon Editor to add for each tool a 'data' dictionary
- updated all FlatCAM tools to use the new confirmation message that show if the entered value is within range or outside
- updated all FlatCAM tools to use the new confirmation message for QSpinBoxes, too
- in Excellon UI protected the values that are common parameters from change on tool selection change
16.02.2020