[GME-commit] GMESRC/GME/Gme GMEApp.cpp,1.114,1.115

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Fri May 14 09:27:19 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv7342/GME/Gme

Modified Files:
	GMEApp.cpp 
Log Message:
Fixed focus problems in the browser and the attribute editor. See JIRA GME-64


CVS User: volgy

Index: GMEApp.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GMEApp.cpp,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** GMEApp.cpp	11 May 2004 14:22:09 -0000	1.114
--- GMEApp.cpp	14 May 2004 13:27:15 -0000	1.115
***************
*** 2142,2153 ****
  void CGMEApp::OnRunPlugin(UINT nID) {
  	CGMEEventLogger::LogGMEEvent("CGMEApp::OnRunPlugin "+plugins[nID - ID_FILE_RUNPLUGIN1]+"\r\n");
  	RunComponent(plugins[nID - ID_FILE_RUNPLUGIN1]);
  }
  
  void CGMEApp::OnRunInterpreter(UINT nID) {
- 
  	CGMEEventLogger::LogGMEEvent("CGMEApp::OnRunInterpreter "+interpreters[nID - ID_FILE_INTERPRET1]+"\r\n");
  	RunComponent(interpreters[nID - ID_FILE_INTERPRET1]);
- 	
  }
  
--- 2142,2159 ----
  void CGMEApp::OnRunPlugin(UINT nID) {
  	CGMEEventLogger::LogGMEEvent("CGMEApp::OnRunPlugin "+plugins[nID - ID_FILE_RUNPLUGIN1]+"\r\n");
+ 
+ 	// Focus must be killed to flush ObjectInspector and Browser
+ 	::SetFocus(NULL);
+ 
  	RunComponent(plugins[nID - ID_FILE_RUNPLUGIN1]);
  }
  
  void CGMEApp::OnRunInterpreter(UINT nID) {
  	CGMEEventLogger::LogGMEEvent("CGMEApp::OnRunInterpreter "+interpreters[nID - ID_FILE_INTERPRET1]+"\r\n");
+ 
+ 	// Focus must be killed to flush ObjectInspector and Browser
+ 	::SetFocus(NULL);
+ 
  	RunComponent(interpreters[nID - ID_FILE_INTERPRET1]);
  }
  



More information about the GME-commit mailing list