From 12ac4de3cd74c9fff8cd78edfe579f9095e3902f Mon Sep 17 00:00:00 2001 From: Simon Vetter Date: Mon, 13 May 2024 19:53:36 +0200 Subject: [PATCH] Work around Qt bug for filter wizard For #215 --- src/main/filter_wizard.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/filter_wizard.cpp b/src/main/filter_wizard.cpp index bcf2f26..5029542 100644 --- a/src/main/filter_wizard.cpp +++ b/src/main/filter_wizard.cpp @@ -348,9 +348,13 @@ void FilterWizardSettingsPage::initializePage() classesRadiobutton ->setVisible(showIntSettings); intClassesGroupBox ->setVisible(showIntSettings); if (!showIntSettings) { - // Qt bug currently prevents these commands from working + // Workaround for QTBUG-125286 + exactValueRadiobutton ->setAutoExclusive(false); exactValueRadiobutton ->setChecked(false); + exactValueRadiobutton ->setAutoExclusive(true); + classesRadiobutton ->setAutoExclusive(false); classesRadiobutton ->setChecked(false); + classesRadiobutton ->setAutoExclusive(true); } }