diff --git a/main/astrodatagui/AstrodataGUI.py b/main/astrodatagui/AstrodataGUI.py index 64bf247..50beb29 100644 --- a/main/astrodatagui/AstrodataGUI.py +++ b/main/astrodatagui/AstrodataGUI.py @@ -217,9 +217,9 @@ class AstrodataGUI(QtWidgets.QMainWindow): self.updateFlaredetectionWidgetFold() case self.cbPlotPeriodogramEnable: - self.cbPlotFoldEnable.blockSignals(True) - self.cbPlotFoldEnable.setChecked(False) - self.cbPlotFoldEnable.blockSignals(False) + self.cbPlotFlattenPlotEnable.blockSignals(True) + self.cbPlotFlattenPlotEnable.setChecked(False) + self.cbPlotFlattenPlotEnable.blockSignals(False) self.cbPlotFoldEnable.blockSignals(True) self.cbPlotFoldEnable.setChecked(False) self.cbPlotFoldEnable.blockSignals(False)