[commit] r2158 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Mar 1 10:05:54 CST 2013


Author: ksmyth
Date: Fri Mar  1 10:05:52 2013
New Revision: 2158

Log:
Dont crash if in tx

Modified:
   trunk/GME/Gme/ProjectPropertiesDlg.cpp

Modified: trunk/GME/Gme/ProjectPropertiesDlg.cpp
==============================================================================
--- trunk/GME/Gme/ProjectPropertiesDlg.cpp	Fri Mar  1 10:05:28 2013	(r2157)
+++ trunk/GME/Gme/ProjectPropertiesDlg.cpp	Fri Mar  1 10:05:52 2013	(r2158)
@@ -106,8 +106,8 @@
 	CDialog::OnInitDialog();
 
 	CComObjPtr<IMgaTerritory> terry;
-	COMTHROW( theApp.mgaProject->CreateTerritory(NULL, PutOut(terry), NULL) );
 	try {
+		COMTHROW( theApp.mgaProject->CreateTerritory(NULL, PutOut(terry), NULL) );
 		theApp.mgaProject->BeginTransaction(terry,TRANSACTION_READ_ONLY);
 		{
 			CComBSTR bstr;


More information about the gme-commit mailing list