mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-15 21:49:20 +00:00
Fixup 98c21e1
(re-add theme check)
This commit is contained in:
parent
1975ffdadc
commit
34595668b4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user