[commit] r1888 - trunk/GME/ObjectInspector
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Apr 17 16:34:54 CDT 2012
Author: ksmyth
Date: Tue Apr 17 16:34:54 2012
New Revision: 1888
Log:
Dont show MessageBox with E_MGA_CONSTRAINT_VIOLATION, since the Constraint Manager already showed one
Modified:
trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp
Modified: trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp
==============================================================================
--- trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp Tue Apr 17 16:34:43 2012 (r1887)
+++ trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp Tue Apr 17 16:34:54 2012 (r1888)
@@ -963,7 +963,7 @@
}
if (e.hr == E_MGA_LIBOBJECT)
CWnd::MessageBox(_T("Library objects cannot be modified."), _T("GME"), MB_ICONERROR);
- else
+ else if (e.hr != E_MGA_CONSTRAINT_VIOLATION)
CWnd::MessageBox(_T("GME could not write object preference data due to an unexpected MGA error. We apologize for the inconvenience."), _T("GME"), MB_ICONERROR);
}
More information about the gme-commit
mailing list