mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Reset Console editbox before command execution
This commit is contained in:
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…
x
Reference in New Issue
Block a user