summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-09-16 11:09:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-09-16 11:09:12 -0400
commit261aa3258fb9d740b3fde897cd39575e453f6f41 (patch)
tree8a38f6d10f54af3ff50f782e34b113224df6d100 /gtk2_ardour/editor_mouse.cc
parentb3c78e906c33aa1cdc8e48f9b642f197e356e634 (diff)
escape should reset focus as well as abort drags/clear selection
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 6e11b16862..47be4703fd 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -2511,6 +2511,8 @@ Editor::escape ()
} else {
selection->clear ();
}
+
+ reset_focus ();
}
void