mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-24 21:45:31 -04:00
Don't restore focus to hidden/unrelated buttons
This commit is contained in:
parent
a4f6448f34
commit
bdcbb412a5
@ -67,7 +67,7 @@ void KeyboardNavigation::saveFocus(int mode)
|
||||
{
|
||||
mKeyFocus[mode] = focus;
|
||||
}
|
||||
else
|
||||
else if(shouldAcceptKeyFocus(mCurrentFocus))
|
||||
{
|
||||
mKeyFocus[mode] = mCurrentFocus;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user