functioning apply button for tau calculation, part of #109
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user