[GME-commit] GMESRC/GME/Mga MgaProject.cpp,1.46,1.47

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Mon Apr 5 07:21:19 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Mga
In directory braindrain:/tmp/cvs-serv3205/Mga

Modified Files:
	MgaProject.cpp 
Log Message:
BUG (#52) fixed: Save then Exit still gets "Save Project" dialog

CVS User: volgy

Index: MgaProject.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Mga/MgaProject.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** MgaProject.cpp	30 Mar 2004 21:40:52 -0000	1.46
--- MgaProject.cpp	5 Apr 2004 11:21:17 -0000	1.47
***************
*** 414,419 ****
  		}
  		COMTHROW(dataproject->SaveProject(newname, keepoldname));
! 		if(CComBSTR(newname).Length() && !keepoldname) {
! 			projconn = newname;
  			opened = UNCHANGED;
  			transactioncount = 0;
--- 414,425 ----
  		}
  		COMTHROW(dataproject->SaveProject(newname, keepoldname));
! 		if(CComBSTR(newname).Length()) {
! 			if (!keepoldname) {
! 				projconn = newname;
! 				opened = UNCHANGED;
! 				transactioncount = 0;
! 			}
! 
! 		} else {
  			opened = UNCHANGED;
  			transactioncount = 0;



More information about the GME-commit mailing list