diff options
author | rtk0c <[email protected]> | 2022-04-18 20:59:31 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-18 20:59:31 -0700 |
commit | 7f871b04470766f0f5266cf949b65a54b7a6f79e (patch) | |
tree | 541b316fb564ffe12885586131a6ccd17662f662 /source/EditorCore.cpp | |
parent | 7af9992ca81c699bc1cf05eb691e284bf424f050 (diff) |
Changeset: 10 Add Uid for IresObject
Diffstat (limited to 'source/EditorCore.cpp')
-rw-r--r-- | source/EditorCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/EditorCore.cpp b/source/EditorCore.cpp index ec500e0..11eea8a 100644 --- a/source/EditorCore.cpp +++ b/source/EditorCore.cpp @@ -248,7 +248,7 @@ void EditorContentBrowser::Show(bool* open) { ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, { 0, 0 }); ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0); ImGui::SetKeyboardFocusHere(); - if (ImGui::InputText("##Rename", &mInspector->renamingScratchBuffer, ImGuiInputTextFlags_EnterReturnsTrue)) { + if (ImGui::InputText("##Rename", &mInspector->renamingScratchBuffer, ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_EnterReturnsTrue)) { // Confirm ires->SetName(std::move(mInspector->renamingScratchBuffer)); mInspector->renaming = false; |