FIX:fixed some issues with unsavechangeddialog

Change-Id: I5addcc4c1ddaa6a98c31a0e57028de72a606a493
This commit is contained in:
tao wang 2022-10-31 18:13:34 +08:00 committed by Lane.Wei
parent 752e00694a
commit a8ad6e9f69
2 changed files with 5 additions and 4 deletions

View file

@ -2929,7 +2929,7 @@ void MainFrame::open_recent_project(size_t file_id, wxString const & filename)
}
else
{
MessageDialog msg(this, _L("The project is no longer available."), _L("Error"), wxYES | wxYES_DEFAULT);
MessageDialog msg(this, _L("The project is no longer available."), _L("Error"), wxOK | wxYES_DEFAULT);
if (msg.ShowModal() == wxID_YES)
{
m_recent_projects.RemoveFileFromHistory(file_id);