mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-17 10:10:23 +00:00
Don't override post-processing HUD search field focus
This commit is contained in:
parent
3b8001d55d
commit
1df5fd341b
@ -445,6 +445,9 @@ namespace MWGui
|
||||
}
|
||||
|
||||
auto tryFocus = [this](ListWrapper* widget, const std::string& hint) {
|
||||
MyGUI::Widget* oldFocus = MyGUI::InputManager::getInstance().getKeyFocusWidget();
|
||||
if (oldFocus == mFilter)
|
||||
return;
|
||||
size_t index = widget->findItemIndexWith(hint);
|
||||
|
||||
if (index != MyGUI::ITEM_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user