Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv31135/src/classes

Modified Files:
        MApplication.cpp 
Log Message:
reopen any interrupted composer windows on restart

Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.242
retrieving revision 1.243
diff -b -u -2 -r1.242 -r1.243
--- MApplication.cpp    11 Mar 2002 19:40:52 -0000      1.242
+++ MApplication.cpp    18 Mar 2002 22:42:13 -0000      1.243
@@ -44,4 +44,5 @@
 #include "HeaderInfo.h"
 #include "FolderMonitor.h"
+#include "Composer.h"         // for RestoreAll()
 
 #include "gui/wxMainFrame.h"
@@ -530,6 +531,9 @@
           "failed to register event handler for folder status event " );
 
-   // open all folders we open initially
+   // open all windows we open initially
    // ----------------------------------
+
+   // open any composer windows we may have
+   Composer::RestoreAll();
 
    // open the remembered folder in the main frame unless disabled


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to