[GME-commit] GMESRC/GME/Gme GMEView.cpp,1.182,1.183

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Aug 10 15:28:36 CDT 2006


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv10502

Modified Files:
	GMEView.cpp 
Log Message:
Fix for JIRA bug GME-135.
Pressing the 'up' button on the toolbar many times crashes GME.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEView.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEView.cpp,v
retrieving revision 1.182
retrieving revision 1.183
diff -C2 -d -r1.182 -r1.183
*** GMEView.cpp	26 Jun 2006 14:49:54 -0000	1.182
--- GMEView.cpp	10 Aug 2006 14:28:34 -0000	1.183
***************
*** 2116,2119 ****
--- 2116,2122 ----
  void CGMEView::ShowModel(CComPtr<IMgaModel> model,CString *aspect)
  {
+ 	// FIX for JIRA bug: GME-135
+ 	if( !model) return;
+ 	// endFIX
  	CString newAspect = aspect ? *aspect : currentAspect->name;
  	CGMEDoc *doc = GetDocument();



More information about the GME-commit mailing list