From 34595668b499e8be3ecb58f09c8facd1bedc5a0e Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Sun, 23 Feb 2025 15:44:29 -0500 Subject: [PATCH] Fixup 98c21e1 (re-add theme check) --- src/gui/core/gui_definition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/core/gui_definition.cpp b/src/gui/core/gui_definition.cpp index 7f7a2c9dbd5..27c0cf81c46 100644 --- a/src/gui/core/gui_definition.cpp +++ b/src/gui/core/gui_definition.cpp @@ -228,7 +228,7 @@ resolution_definition_ptr get_control(const std::string& control_type, const std auto control = find_definition(current_types); // Definition not found in the current theme, try the default theme. - if(!control) { + if(!control && current_gui != default_gui) { control = find_definition(default_types); }