forked from teamnwah/openmw-tes3coop
Reset Console editbox before command execution
This commit is contained in:
parent
c40987338d
commit
58e2d3711f
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue