1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-23 01:39:48 +00:00

Console Object Selection Fix

This commit is contained in:
riothamus 2013-05-24 09:31:56 -04:00
parent b1a8dc35e0
commit d9350be8da

View file

@ -137,7 +137,7 @@ namespace MWGui
void Console::disable() void Console::disable()
{ {
setVisible(false); setVisible(false);
setSelectedObject(MWWorld::Ptr());
// Remove keyboard focus from the console input whenever the // Remove keyboard focus from the console input whenever the
// console is turned off // console is turned off
MyGUI::InputManager::getInstance().setKeyFocusWidget(NULL); MyGUI::InputManager::getInstance().setKeyFocusWidget(NULL);