1
0
forked from IPKM/nmreval

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dominik Demuth 2023-08-01 19:59:16 +02:00
commit e612c607e2

View File

@ -199,3 +199,9 @@ class QRelaxCalc(QtWidgets.QDialog, Ui_Dialog):
def accept(self):
self.calc_relaxation()
super().accept()
@QtCore.pyqtSlot(QtWidgets.QAbstractButton)
def on_buttonBox_clicked(self, button: QtWidgets.QAbstractButton):
role = self.buttonBox.buttonRole(button)
if role == self.buttonBox.ApplyRole:
self.calc_relaxation()