[commit] r2554 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Oct 20 11:16:26 CDT 2014


Author: ksmyth
Date: Mon Oct 20 11:16:26 2014
New Revision: 2554

Log:
If user canceled creating a connection, dont pop up an error MessageBox

Modified:
   trunk/GME/Gme/GMEView.cpp

Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp	Wed Oct 15 12:24:48 2014	(r2553)
+++ trunk/GME/Gme/GMEView.cpp	Mon Oct 20 11:16:26 2014	(r2554)
@@ -4412,7 +4412,8 @@
 			error += static_cast<const TCHAR*>(e.Description());
 		}
 		CGMEEventLogger::LogGMEEvent(error + _T("\r\n"));
-		AfxMessageBox(error,MB_ICONSTOP | MB_OK);
+		if (e.Error() != E_ABORT) // "Operation canceled by user"
+			AfxMessageBox(error,MB_ICONSTOP | MB_OK);
 
         Reset(true); // BGY: something similar needed, otherwise the created conenction not 
         // deleted form the gui if the committransaction failed


More information about the gme-commit mailing list