Reset Console editbox before command execution

c++11
Stanislav Bas 10 years ago
parent c40987338d
commit 58e2d3711f

@ -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 )

Loading…
Cancel
Save