1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Fix console selected object persisting on a new game

This commit is contained in:
scrawl 2017-09-30 16:57:07 +02:00
parent 097b9d90bc
commit 3c62a8c5c2
2 changed files with 7 additions and 0 deletions

View File

@ -215,6 +215,11 @@ namespace MWGui
}
}
void Console::clear()
{
resetReference();
}
void Console::keyPress(MyGUI::Widget* _sender,
MyGUI::KeyCode key,
MyGUI::Char _char)

View File

@ -60,6 +60,8 @@ namespace MWGui
void executeFile (const std::string& path);
void clear();
virtual void resetReference ();
protected: