Fixup 98c21e1 (re-add theme check)

This commit is contained in:
Charles Dang 2025-02-23 15:44:29 -05:00
parent 1975ffdadc
commit 34595668b4

View File

@ -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);
}