From 08a00cff6b77c8dd484df20daf12f6304f71969d Mon Sep 17 00:00:00 2001 From: dobrykafe <121701317+dobrykafe@users.noreply.github.com> Date: Wed, 15 Nov 2023 18:24:20 +0100 Subject: [PATCH] update `m_FileDialogFileNameInput` when deleting a file --- src/game/editor/editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index fe459343e..abfe529f0 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -5003,6 +5003,7 @@ void CEditor::RenderFileDialog() else ShowFileDialogError("Failed to delete file '%s'.", aDeleteFilePath); } + UpdateFileNameInput(); } if(s_ConfirmDeletePopupContext.m_Result != CUI::SConfirmPopupContext::UNSET) s_ConfirmDeletePopupContext.Reset();