X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdocs.cpp;h=a47d8d993fe4f952e93edace295168acef3098aa;hb=c99718e6b337daf4750d5c48b41b626379c1296d;hp=2bf3579d5bb32eb887c2573535d80bb1e6077ec8;hpb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;p=ctsim.git diff --git a/src/docs.cpp b/src/docs.cpp index 2bf3579..a47d8d9 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -76,6 +76,7 @@ bool ImageFileDocument::OnOpenDocument(const wxString& filename) SetFilename(filename, true); Modify(false); getView()->setInitialClientSize(); + this->SetFilename(filename, true); UpdateAllViews(); m_bBadFileOpen = false;