diff --git a/src/ert/gui/ertwidgets/analysismodulevariablespanel.py b/src/ert/gui/ertwidgets/analysismodulevariablespanel.py index bab145bf8b3..3a37ab597b8 100644 --- a/src/ert/gui/ertwidgets/analysismodulevariablespanel.py +++ b/src/ert/gui/ertwidgets/analysismodulevariablespanel.py @@ -133,7 +133,7 @@ def __init__(self, analysis_module: AnalysisModule, ensemble_size: int): def update_inversion_algorithm(self, text): self.truncation_spinner.setEnabled( - not any(val in text for val in ["direct", "exact"]) + not any(val in text.lower() for val in ["direct", "exact"]) ) self.analysis_module.inversion = text