[mapguide-commits] r4356 - trunk/Tools/Maestro/Maestro
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Nov 23 14:29:07 EST 2009
Author: ksgeograf
Date: 2009-11-23 14:29:07 -0500 (Mon, 23 Nov 2009)
New Revision: 4356
Modified:
trunk/Tools/Maestro/Maestro/EditorInterface.cs
Log:
Maestro:
Fix bug with saving new resources, which was introduced in 4347.
Modified: trunk/Tools/Maestro/Maestro/EditorInterface.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/EditorInterface.cs 2009-11-23 02:32:24 UTC (rev 4355)
+++ trunk/Tools/Maestro/Maestro/EditorInterface.cs 2009-11-23 19:29:07 UTC (rev 4356)
@@ -247,7 +247,7 @@
{
ResourceBrowser.BrowseResource dlg = new ResourceBrowser.BrowseResource(m_editor.RepositoryCache, m_editor, false, false, new string[] { resourceType });
dlg.SelectedResources = new string[] { m_editor.LastSelectedNode };
- if (dlg.ShowDialog() != DialogResult.OK || resid == null || resid.Length != 1)
+ if (dlg.ShowDialog() != DialogResult.OK || dlg.SelectedResources == null || dlg.SelectedResources.Length != 1)
return false;
resid = dlg.SelectedResources[0];
More information about the mapguide-commits
mailing list