Skip to content

Commit

Permalink
fix: fixed variable name input text
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Nov 6, 2024
1 parent 713db39 commit 791906d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/GuiVariablesEdit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class VariableEditWindow

GuiHelper::drawTextAlignedToSize("name:", alignment);
ImGui::SameLine();
if (ImGui::InputText("##name", &name, ImGuiInputTextFlags_EnterReturnsTrue, NULL, NULL))
if (ImGui::InputText("##name", &name, ImGuiInputTextFlags_None, NULL, NULL))
{
if (!vars->contains(name))
editedVariable->rename(name);
Expand Down

0 comments on commit 791906d

Please sign in to comment.