Fix plot initialization, improve frame titles
[ctsim.git] / src / docs.cpp
index 028c8214fe24841e2700209bbd4c6f670620d534..a47d8d993fe4f952e93edace295168acef3098aa 100644 (file)
@@ -7,9 +7,7 @@
 **   Date Started:  July 2000
 **
 **  This is part of the CTSim program
-**  Copyright (c) 1983-2001 Kevin Rosenberg
-**
-**  $Id$
+**  Copyright (c) 1983-2009 Kevin Rosenberg
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -78,6 +76,7 @@ bool ImageFileDocument::OnOpenDocument(const wxString& filename)
   SetFilename(filename, true);
   Modify(false);
   getView()->setInitialClientSize();
+  this->SetFilename(filename, true);
   UpdateAllViews();
   m_bBadFileOpen = false;