mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 21:15:33 +00:00
Don't restore focus to hidden/unrelated buttons
This commit is contained in:
parent
a4f6448f34
commit
bdcbb412a5
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ void KeyboardNavigation::saveFocus(int mode)
|
|||
{
|
||||
mKeyFocus[mode] = focus;
|
||||
}
|
||||
else
|
||||
else if(shouldAcceptKeyFocus(mCurrentFocus))
|
||||
{
|
||||
mKeyFocus[mode] = mCurrentFocus;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue