interim save

This commit is contained in:
Dominik Demuth
2023-07-05 17:35:31 +02:00
parent bc946e1027
commit 8de4a0cbd3
3 changed files with 49 additions and 27 deletions

View File

@@ -1143,7 +1143,7 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow):
def show_tg_dialog(self):
if self._tg_dialog is None:
self._tg_dialog = TgCalculator(self.management, parent=self)
self._tg_dialog.newTg.connect(self.management.addTg)
self._tg_dialog.newData.connect(self.management.addTg)
else:
self._tg_dialog()
self._tg_dialog.show()