forked from IPKM/nmreval
functioning apply button for tau calculation, part of #109
This commit is contained in:
parent
a5216b1eed
commit
d7eaff5f0b
@ -199,3 +199,9 @@ class QRelaxCalc(QtWidgets.QDialog, Ui_Dialog):
|
|||||||
def accept(self):
|
def accept(self):
|
||||||
self.calc_relaxation()
|
self.calc_relaxation()
|
||||||
super().accept()
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user