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:
parent
097b9d90bc
commit
3c62a8c5c2
@ -215,6 +215,11 @@ namespace MWGui
|
||||
}
|
||||
}
|
||||
|
||||
void Console::clear()
|
||||
{
|
||||
resetReference();
|
||||
}
|
||||
|
||||
void Console::keyPress(MyGUI::Widget* _sender,
|
||||
MyGUI::KeyCode key,
|
||||
MyGUI::Char _char)
|
||||
|
@ -60,6 +60,8 @@ namespace MWGui
|
||||
|
||||
void executeFile (const std::string& path);
|
||||
|
||||
void clear();
|
||||
|
||||
virtual void resetReference ();
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user