GraceEditor now clears previously read graphs when calling; fixes T257
This commit is contained in:
1 parent
bc14b26a5f
commit
af313c7a58
2 files changed
+10
-6
No files matched your search
@@ -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")}")'])
|
||||
|
||||
Reference in new issue
Block a user