diff --git a/apps/openmw/mwgui/console.cpp b/apps/openmw/mwgui/console.cpp index 4eb9a271c..62eeca012 100644 --- a/apps/openmw/mwgui/console.cpp +++ b/apps/openmw/mwgui/console.cpp @@ -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 &matches )