GraceEditor now clears previously read graphs when calling; fixes T257

This commit is contained in:
Dominik Demuth committed 2023-01-23 18:45:42 +01:00
1 parent bc14b26a5f
commit af313c7a58
2 files changed
+10 -6

No files matched your search

-1
View File
@@ -45,7 +45,6 @@ class QGraceReader(QtWidgets.QDialog, Ui_Dialog):
def read(self, fname):
self._reader.parse(fname)
print('halio', len(self._reader.graphs))
for graphs in self._reader.graphs:
item = QtWidgets.QTreeWidgetItem([f'Graph {graphs.idx} (Title "{graphs.get_property("title")}")'])