Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24354

Modified Files:
        wxMsgCmdProc.cpp 
Log Message:
don't move focus to next message if saving to file was cancelled

Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -b -u -2 -r1.54 -r1.55
--- wxMsgCmdProc.cpp    8 Apr 2004 18:22:19 -0000       1.54
+++ wxMsgCmdProc.cpp    20 Jun 2004 23:23:41 -0000      1.55
@@ -713,5 +713,9 @@
 
       case WXMENU_MSG_SAVE_TO_FILE:
-         SaveMessagesToFile(messages);
+         if ( SaveMessagesToFile(messages) == ILLEGAL_TICKET )
+         {
+            // cancelled by user
+            rc = false;
+         }
          break;
 



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to