GraceEditor now clears previously read graphs when calling; fixes T257

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

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")}")'])