summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPriton-CE <thies.eric@gmail.com>2024-09-21 19:16:02 +0200
committerPriton-CE <thies.eric@gmail.com>2024-09-21 19:16:02 +0200
commit068acfc2658733a1156bbc115c713f1b371a834e (patch)
treed3f15f7fb65120d2c65509937ea177c4819420c7
parent1c0b371ab3d853d6bbd601afdafe242d2f5694d0 (diff)
added a (hacky) fix to compensate for QTs broken autoexclusive
-rw-r--r--proto-wine/ftnoir_protocol_wine_dialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto-wine/ftnoir_protocol_wine_dialog.cpp b/proto-wine/ftnoir_protocol_wine_dialog.cpp
index d1887746..b46ebbcb 100644
--- a/proto-wine/ftnoir_protocol_wine_dialog.cpp
+++ b/proto-wine/ftnoir_protocol_wine_dialog.cpp
@@ -173,6 +173,12 @@ void FTControls::onRadioButtonsChanged() {
ui.browse_proton_prefix_button->setEnabled(true);
}
}
+ else {
+ // for some reason QTs auto exclusive feature is not always correctly working
+ // this is a somewhat hacky solution
+ ui.variant_wine->setChecked(ui.wine_path_combo->isEnabled());
+ ui.variant_proton->setChecked(ui.proton_version->isEnabled());
+ }
}
void FTControls::doBrowseWine() {