- minor changes

This commit is contained in:
Marius Stanciu
2022-01-25 04:30:14 +02:00
committed by Marius
parent 0c656ab10c
commit 6cdb276a08
3 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
================================================= =================================================
25.01.2022
- minor changes
24.01.2022 24.01.2022
- fixed a syntax error in a call of the log.error() - fixed a syntax error in a call of the log.error()

View File

@@ -106,7 +106,7 @@ class ExcellonObject(FlatCAMObj, Excellon):
# Attributes to be included in serialization # Attributes to be included in serialization
# Always append to it because it carries contents # Always append to it because it carries contents
# from predecessors. # from predecessors.
self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs
def set_ui(self, ui): def set_ui(self, ui):
""" """

View File

@@ -106,7 +106,7 @@ class GerberObject(FlatCAMObj, Gerber):
# Attributes to be included in serialization # Attributes to be included in serialization
# Always append to it because it carries contents # Always append to it because it carries contents
# from predecessors. # from predecessors.
self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs
def set_ui(self, ui): def set_ui(self, ui):
""" """