Call m_menumgr->deletingMenu from quitMenu in addition to destructor
This fixes the bug where noMenuActive() keeps returning false after closing a menu until the mouse is moved, rendering the keyboard unusable (the_game calls input->clear() every frame when noMenuActive() is false).stable-0.4
parent
64befefcfc
commit
9fe74a34ea
|
@ -99,6 +99,7 @@ public:
|
|||
allowFocusRemoval(true);
|
||||
// This removes Environment's grab on us
|
||||
Environment->removeFocus(this);
|
||||
m_menumgr->deletingMenu(this);
|
||||
this->remove();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue