[commit] r1515 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Sep 9 11:02:13 CDT 2011


Author: ksmyth
Date: Fri Sep  9 11:02:13 2011
New Revision: 1515

Log:
Make sure ObjectInspector and TreeBrowser save their data before exiting

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Fri Sep  9 10:53:37 2011	(r1514)
+++ trunk/GME/Gme/GMEApp.cpp	Fri Sep  9 11:02:13 2011	(r1515)
@@ -1749,6 +1749,8 @@
 
 void CGMEApp::OnAppExit()
 {
+	// Focus must be killed to flush ObjectInspector and Browser
+	::SetFocus(NULL);
 	if (SaveAllModified())
 	{
 		// n.b. C# interpreters may not Release() IGMEOLEApp, which keeps us ::Run()ing forever


More information about the gme-commit mailing list