Commit fb70f45d authored by skamann's avatar skamann
Browse files

Fixed some syntax warnings in GUI code.

parent d7b1232e
......@@ -1406,7 +1406,7 @@ class PampelMuseGui(QMainWindow, Ui_PampelMuseGui):
self.ifsPlot.loadLayer(self.ifuLayerSelectSlider.value(), residuals=False)
# change cuts unless absolute values were set by the user:
if self.ifuCutsComboBox.currentText() is not "User":
if self.ifuCutsComboBox.currentText() != "User":
self.on_ifuCutsComboBox_currentIndexChanged(self.ifuCutsComboBox.currentText())
@pyqtSlot(bool)
......@@ -1423,7 +1423,7 @@ class PampelMuseGui(QMainWindow, Ui_PampelMuseGui):
self.ifsPlot.loadLayer(self.ifuLayerSelectSlider.value(), residuals=True)
# change cuts unless absolute values were set by the user:
if self.ifuCutsComboBox.currentText() is not "User":
if self.ifuCutsComboBox.currentText() != "User":
self.on_ifuCutsComboBox_currentIndexChanged(self.ifuCutsComboBox.currentText())
def plot_sources_on_ref(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment