sweep refactor fix in calibration

pull/246/head
Holger Müller 2020-07-13 16:54:06 +02:00
rodzic d8ac822963
commit 6d38474f49
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -452,7 +452,7 @@ class CalibrationWindow(QtWidgets.QWidget):
self.app.worker.signals.updated.emit()
def calculate(self):
if self.app.btnStopSweep.isEnabled():
if self.app.sweep_control.btn_stop.isEnabled():
# Currently sweeping
self.app.showError("Unable to apply calibration while a sweep is running. " +
"Please stop the sweep and try again.")