fix(editor): command bar selects all on press enter
This commit is contained in:
parent
e40b594ae5
commit
783fd17563
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ void CommandEdit::executeCommand() {
|
|||
// Output
|
||||
Logger::infof("> %s", command.c_str());
|
||||
|
||||
// Select all so that the user can type over it
|
||||
this->selectAll();
|
||||
|
||||
// Execute via Lua
|
||||
auto context = gDataModel->GetService<ScriptContext>();
|
||||
lua_State* L = context->state;
|
||||
|
|
Loading…
Add table
Reference in a new issue