diff -r 4d9ebc6fbbe8 -r 43bb1b8ed555 client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml.cs --- a/client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml.cs Tue Jan 19 09:49:56 2010 +0100 +++ b/client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml.cs Mon Jan 25 09:30:22 2010 +0100 @@ -27,6 +27,8 @@ InitializeComponent(); Commands.PolemicElement.ElementSelected.Executed += new EventHandler(ElementSelected_Executed); Commands.ContextualBinderLayer.EndBind.Executed += new EventHandler(EndBind_Executed); + Commands.EscapeKeyPressed.Executed += Commands.ContextualBinderLayer.EndBind.Execute; + MouseLeftButtonUp += new MouseButtonEventHandler(ContextualBinderLayer_MouseLeftButtonUp); MouseMove += new MouseEventHandler(ContextualBinderLayer_MouseMove); Commands.ContextualBinderLayer.BeginBind.Executed += new EventHandler(BeginBind_Executed);