[mapguide-commits] r7837 - trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Scales

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Sep 3 00:59:26 PDT 2013


Author: jng
Date: 2013-09-03 00:59:25 -0700 (Tue, 03 Sep 2013)
New Revision: 7837

Modified:
   trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Scales/Condition.cs
Log:
#2349: We left out composite rules in some cases where we're checking what type of rule we're modifying.

Modified: trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Scales/Condition.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Scales/Condition.cs	2013-09-03 07:40:04 UTC (rev 7836)
+++ trunk/Tools/Maestro/Maestro.Editors/LayerDefinition/Vector/Scales/Condition.cs	2013-09-03 07:59:25 UTC (rev 7837)
@@ -167,12 +167,16 @@
         private void DeleteButton_Click(object sender, EventArgs e)
         {
             if (ItemDeleted != null)
+            {
                 if (m_prt != null)
                     ItemDeleted(m_prt, null);
                 else if (m_lrt != null)
                     ItemDeleted(m_lrt, null);
                 else if (m_art != null)
                     ItemDeleted(m_art, null);
+                else if (m_comp != null)
+                    ItemDeleted(m_comp, null);
+            }
         }
 
         private void RuleCondition_TextChanged(object sender, EventArgs e)
@@ -186,6 +190,8 @@
                 m_lrt.Filter = RuleCondition.Text;
             else if (m_art != null)
                 m_art.Filter = RuleCondition.Text;
+            else if (m_comp != null)
+                m_comp.Filter = RuleCondition.Text;
 
             SignalChanged();
         }



More information about the mapguide-commits mailing list