forked from IPKM/nmreval
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e612c607e2
@ -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