diff --git a/editor/script/commandedit.cpp b/editor/script/commandedit.cpp index 1825913..8ec85f9 100644 --- a/editor/script/commandedit.cpp +++ b/editor/script/commandedit.cpp @@ -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(); lua_State* L = context->state;