Fixed a file information problem

This commit is contained in:
Zane U. Ji 2014-05-24 19:00:27 +08:00
parent aba27ac582
commit d17713986e
1 changed files with 3 additions and 1 deletions

View File

@ -5582,9 +5582,11 @@ void MyFrame::messagePane ( const wxString& s, int iconType, bool forcePane )
htmlBuffer += htmlString;
htmlBuffer += _T ( "</td></tr></table></body></html>" );
wxString file;
XmlDoc *doc = getActiveDocument();
if ( doc )
htmlReport->setLastFile ( doc->getFullFileName() );
file = doc->getFullFileName();
htmlReport->setLastFile ( file );
htmlReport->SetPage ( htmlBuffer );
manager.Update();