[commit] r1410 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Jul 19 11:11:37 CDT 2011


Author: ksmyth
Date: Tue Jul 19 11:11:36 2011
New Revision: 1410

Log:
Fix GME-307: if user is editing attribute in Object Inspector, then Ctrl-S or Alt-F,S, data was lost

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Mon Jul 18 17:52:14 2011	(r1409)
+++ trunk/GME/Gme/GMEApp.cpp	Tue Jul 19 11:11:36 2011	(r1410)
@@ -1904,6 +1904,9 @@
 void CGMEApp::OnFileSave() 
 {
 	CGMEEventLogger::LogGMEEvent(_T("CGMEApp::OnFileSave\r\n"));
+	// GME-307 Focus must be killed to flush ObjectInspector and Browser
+	::SetFocus(NULL);
+
 	BeginWaitCursor();
 	SaveProject(_T(""));
 	EndWaitCursor();


More information about the gme-commit mailing list