[mapguide-commits] r7167 - in branches/maestro-4.0.x: . Maestro.Editors/LayerDefinition
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Oct 29 09:00:25 PDT 2012
Author: jng
Date: 2012-10-29 09:00:25 -0700 (Mon, 29 Oct 2012)
New Revision: 7167
Modified:
branches/maestro-4.0.x/
branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/LayerPropertiesSectionCtrl.cs
Log:
#2159: Backport to 4.0.x
Property changes on: branches/maestro-4.0.x
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/Tools/Maestro:6490-6494,6923-6924,6926,6928,7026,7034,7056,7058,7060-7061,7073-7074,7125-7128,7164
+ /trunk/Tools/Maestro:6490-6494,6923-6924,6926,6928,7026,7034,7056,7058,7060-7061,7073-7074,7125-7128,7164,7166
Modified: branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/LayerPropertiesSectionCtrl.cs
===================================================================
--- branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/LayerPropertiesSectionCtrl.cs 2012-10-29 15:58:02 UTC (rev 7166)
+++ branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/LayerPropertiesSectionCtrl.cs 2012-10-29 16:00:25 UTC (rev 7167)
@@ -174,6 +174,10 @@
_props.Add(pair);
_vl.AddPropertyMapping(pair);
}
+ else
+ {
+ nsp.Value = displayName;
+ }
}
else //Turned off
{
@@ -191,7 +195,7 @@
if (e.RowIndex >= 0)
{
var row = grdProperties.Rows[e.RowIndex];
- if (e.ColumnIndex == 0) //checkbox
+ if (e.ColumnIndex == 0 || e.ColumnIndex == 2) //checkbox
{
OnPropertyMappingChanged((bool)row.Cells[0].Value, row.Cells[1].Value.ToString(), row.Cells[2].Value.ToString());
}
More information about the mapguide-commits
mailing list