update m_FileDialogFileNameInput when deleting a file

This commit is contained in:
dobrykafe 2023-11-15 18:24:20 +01:00
parent eb0392007b
commit 08a00cff6b

View file

@ -5003,6 +5003,7 @@ void CEditor::RenderFileDialog()
else else
ShowFileDialogError("Failed to delete file '%s'.", aDeleteFilePath); ShowFileDialogError("Failed to delete file '%s'.", aDeleteFilePath);
} }
UpdateFileNameInput();
} }
if(s_ConfirmDeletePopupContext.m_Result != CUI::SConfirmPopupContext::UNSET) if(s_ConfirmDeletePopupContext.m_Result != CUI::SConfirmPopupContext::UNSET)
s_ConfirmDeletePopupContext.Reset(); s_ConfirmDeletePopupContext.Reset();