[Mobies-commit] [commit] r3762 - UDM/trunk/src/UdmGme
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Fri Jun 17 09:09:51 CDT 2011
Author: ksmyth
Date: Fri Jun 17 09:09:51 2011
New Revision: 3762
Log:
Set MgaProject Name when setting RootFolder name, like the GME GUI
Modified:
UDM/trunk/src/UdmGme/UdmGme.cpp
Modified: UDM/trunk/src/UdmGme/UdmGme.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/UdmGme.cpp Fri Jun 17 09:08:29 2011 (r3761)
+++ UDM/trunk/src/UdmGme/UdmGme.cpp Fri Jun 17 09:09:51 2011 (r3762)
@@ -2370,6 +2370,9 @@
else if(rname == "name")
{
objself->Name = SmartBSTR(a.c_str());
+ if (folderself && folderself->Project->RootFolder == folderself) {
+ folderself->Project->Name = SmartBSTR(a.c_str());
+ }
#ifdef _DEBUG
name = a;
#endif
More information about the Mobies-commit
mailing list