[mapguide-commits] r6207 - trunk/Tools/Maestro/Maestro.Base

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Nov 8 09:25:54 EST 2011


Author: jng
Date: 2011-11-08 06:25:54 -0800 (Tue, 08 Nov 2011)
New Revision: 6207

Modified:
   trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs
Log:
Left out some things from previous submission

Modified: trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs	2011-11-08 14:24:20 UTC (rev 6206)
+++ trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs	2011-11-08 14:25:54 UTC (rev 6207)
@@ -258,9 +258,14 @@
             if (this.DocumentTabContextMenuEnabled)
                 return;
 
+            var tabs = new List<TabPage>();
             for (int i = 0; i < documentTabs.TabPages.Count; i++)
             {
                 var tab = documentTabs.TabPages[i];
+                tabs.Add(tab);
+            }
+            foreach (var tab in tabs)
+            {
                 ((IViewContent)tab.Tag).Close();
             }
         }



More information about the mapguide-commits mailing list