diff --git a/source/Gui/AlienImGui.cpp b/source/Gui/AlienImGui.cpp index 3963e40a3..1184c328a 100644 --- a/source/Gui/AlienImGui.cpp +++ b/source/Gui/AlienImGui.cpp @@ -379,6 +379,7 @@ bool AlienImGui::InputText(InputTextParameters const& parameters, char* buffer, ImGui::BeginDisabled(std::string(buffer) == *parameters._defaultValue); if (revertButton(parameters._name)) { StringHelper::copy(buffer, bufferSize, *parameters._defaultValue); + result = true; } ImGui::EndDisabled(); }