X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38eb01c91f5d84236a881c71c78ae0e3b06fb17..6ea6639cdfa9f735ea3e3b4115f15f7afd6515eb:/src/common/docview.cpp diff --git a/src/common/docview.cpp b/src/common/docview.cpp index e4f6bf3bdb..eba884d600 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -397,6 +397,9 @@ bool wxDocument::OnSaveDocument(const wxString& file) if ( !DoSaveDocument(file) ) return false; + if ( m_commandProcessor ) + m_commandProcessor->MarkAsSaved(); + Modify(false); SetFilename(file); SetDocumentSaved(true);