From 19e01bba175b39ad6ba8d33639607259fb852b21 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Fri, 21 Nov 2025 23:43:36 +0500 Subject: [PATCH] Fix: normalize disabled value for PW_AMD_VULKAN_USE Signed-off-by: Boris Yumankulov --- portprotonqt/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portprotonqt/dialogs.py b/portprotonqt/dialogs.py index a59fa61..977c454 100644 --- a/portprotonqt/dialogs.py +++ b/portprotonqt/dialogs.py @@ -2042,7 +2042,7 @@ class ExeSettingsDialog(QDialog): if setting['key'] == 'PW_WINE_CPU_TOPOLOGY': current_val = disabled_text if current_raw == 'disabled' else (current_raw.split(':')[0] if isinstance(current_raw, str) and ':' in current_raw else current_raw) elif setting['key'] == 'PW_AMD_VULKAN_USE': - current_val = disabled_text if not current_raw or current_raw == '' else current_raw + current_val = disabled_text if not current_raw or current_raw == '' or current_raw == 'disabled' else current_raw else: current_val = disabled_text if current_raw == 'disabled' else current_raw