[mapguide-commits] r5631 - trunk/Tools/Maestro/Maestro.Base/Editor

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 16 06:47:26 EDT 2011


Author: jng
Date: 2011-03-16 03:47:26 -0700 (Wed, 16 Mar 2011)
New Revision: 5631

Modified:
   trunk/Tools/Maestro/Maestro.Base/Editor/FsEditorOptionPanel.cs
Log:
Fix #1630: Register dirty state notifier and flag dirty state when setting XML configuration content from the XML editor dialog


Modified: trunk/Tools/Maestro/Maestro.Base/Editor/FsEditorOptionPanel.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Editor/FsEditorOptionPanel.cs	2011-03-16 10:43:02 UTC (rev 5630)
+++ trunk/Tools/Maestro/Maestro.Base/Editor/FsEditorOptionPanel.cs	2011-03-16 10:47:26 UTC (rev 5631)
@@ -60,6 +60,7 @@
             _fsvc = service.FeatureService;
             _rsvc = service.ResourceService;
             _edsvc = service;
+            _edsvc.RegisterCustomNotifier(this);
             this.ConfigEnabled = _caps.Connection.SupportsConfiguration;
         }
 
@@ -124,6 +125,7 @@
             {
                 content = dlg.XmlContent;
                 _fs.SetConfigurationContent(content);
+                OnResourceChanged();
             }
         }
     }



More information about the mapguide-commits mailing list