FIX:fixed some issues with unsavechangeddialog

Change-Id: I5addcc4c1ddaa6a98c31a0e57028de72a606a493
This commit is contained in:
tao wang authored and Lane.Wei committed 2022-12-15 04:33:48 -05:00
1 parent 752e00694a
commit a8ad6e9f69
2 files changed
+5 -4

No files matched your search

+1 -1
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);