- Tools Database - remade the UI

- made sure that the serializable attributes are added correctly and only once (self.ser_attrs)
This commit is contained in:
Marius Stanciu
2020-07-14 16:46:01 +03:00
committed by Marius
parent 5badd7a26b
commit 5748eb049b
8 changed files with 372 additions and 347 deletions

View File

@@ -10181,9 +10181,11 @@ class App(QtCore.QObject):
pass
# Serialize the whole project
d = {"objs": [obj.to_dict() for obj in self.collection.get_list()],
"options": self.options,
"version": self.version}
d = {
"objs": [obj.to_dict() for obj in self.collection.get_list()],
"options": self.options,
"version": self.version
}
if self.defaults["global_save_compressed"] is True:
with lzma.open(filename, "w", preset=int(self.defaults['global_compression_level'])) as f: