Merge pull request #7460 from dobrykafe/pr-update-filename

Update `m_FileDialogFileNameInput` when deleting a file
This commit is contained in:
Dennis Felsing 2023-11-15 19:28:15 +00:00 committed by GitHub
commit db44f218dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();