[mapguide-commits] r6659 - in branches/maestro-4.0.x: Doc Maestro.Editors/MapDefinition

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu May 17 10:22:20 EDT 2012


Author: jng
Date: 2012-05-17 07:22:19 -0700 (Thu, 17 May 2012)
New Revision: 6659

Modified:
   branches/maestro-4.0.x/Doc/MaestroAPI.shfbproj
   branches/maestro-4.0.x/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs
Log:
Port #1967 fix to 4.0.x and update MaestroAPI doc project

Modified: branches/maestro-4.0.x/Doc/MaestroAPI.shfbproj
===================================================================
--- branches/maestro-4.0.x/Doc/MaestroAPI.shfbproj	2012-05-17 14:15:05 UTC (rev 6658)
+++ branches/maestro-4.0.x/Doc/MaestroAPI.shfbproj	2012-05-17 14:22:19 UTC (rev 6659)
@@ -61,7 +61,7 @@
     <HtmlSdkLinkType>None</HtmlSdkLinkType>
     <MSHelp2SdkLinkType>None</MSHelp2SdkLinkType>
     <MSHelpViewerSdkLinkType>None</MSHelpViewerSdkLinkType>
-    <CopyrightText>%28c%29 2011, Jackie Ng</CopyrightText>
+    <CopyrightText>%28c%29 2012, Jackie Ng</CopyrightText>
     <SyntaxFilters>CSharp, VisualBasic, CPlusPlus, FSharp, AspNet</SyntaxFilters>
     <RootNamespaceContainer>True</RootNamespaceContainer>
     <Preliminary>False</Preliminary>

Modified: branches/maestro-4.0.x/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs
===================================================================
--- branches/maestro-4.0.x/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs	2012-05-17 14:15:05 UTC (rev 6658)
+++ branches/maestro-4.0.x/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs	2012-05-17 14:22:19 UTC (rev 6659)
@@ -997,7 +997,18 @@
                 {
                     var gi = node.Tag as GroupItem;
                     if (gi != null)
+                    {
                         parent = gi.Tag;
+                    }
+                    else
+                    {
+                        if (node.Parent != null)
+                        {
+                            gi = node.Parent.Tag as GroupItem;
+                            if (gi != null)
+                                parent = gi.Tag;
+                        }
+                    }
                 }
 
                 int added = 0;



More information about the mapguide-commits mailing list