set graphs in fc reader

This commit is contained in:
Dominik Demuth
2023-04-14 17:58:14 +02:00
parent 29518b9ea0
commit e5563d55d5
2 changed files with 12 additions and 6 deletions

View File

@ -254,6 +254,7 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow):
@QtCore.pyqtSlot(name='on_actionOpen_FC_triggered')
def read_fc(self):
reader = QFCReader(path=self.path, parent=self)
reader.add_graphs(self.management.graphs.list())
reader.data_read.connect(self.management.add_new_data)
reader.exec()