1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +00:00

Reset Console editbox before command execution

This commit is contained in:
Stanislav Bas 2015-06-05 22:00:02 +03:00
parent c40987338d
commit 58e2d3711f

View File

@ -294,10 +294,9 @@ namespace MWGui
mCommandHistory.push_back(cm);
mCurrent = mCommandHistory.end();
mEditString.clear();
mCommandLine->setCaption("");
execute (cm);
mCommandLine->setCaption("");
}
std::string Console::complete( std::string input, std::vector<std::string> &matches )