[mapguide-commits] r6022 - trunk/Tools/Maestro/Maestro.Base/Editor
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Aug 1 10:33:59 EDT 2011
Author: jng
Date: 2011-08-01 07:33:58 -0700 (Mon, 01 Aug 2011)
New Revision: 6022
Modified:
trunk/Tools/Maestro/Maestro.Base/Editor/EditorContentBase.cs
Log:
#1763: Give the editor focus to ensure that the save command keybinding is properly detected
Modified: trunk/Tools/Maestro/Maestro.Base/Editor/EditorContentBase.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Editor/EditorContentBase.cs 2011-08-01 13:53:27 UTC (rev 6021)
+++ trunk/Tools/Maestro/Maestro.Base/Editor/EditorContentBase.cs 2011-08-01 14:33:58 UTC (rev 6022)
@@ -79,6 +79,10 @@
Bind(_svc);
//Do dirty state check
OnDirtyStateChanged(this, EventArgs.Empty);
+
+ //This is to ensure that save works when returning from
+ //XML edit mode
+ this.Focus();
}
}
More information about the mapguide-commits
mailing list