summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-25 15:24:41 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-25 15:24:41 -0500
commitdc38ec88342219005ee9bde850ff62ac168ba284 (patch)
tree9f7b0545fcb3c93ebd485721727bc4f66d168ec2 /gtk2_ardour/editor_selection.cc
parented0529289811689d61907a0c5e6a0cea0ead6be1 (diff)
a rubber-band drag or other selection op that actually selects nothing should cancel the current selection
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 59425b289c..5346766790 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -1489,6 +1489,7 @@ Editor::select_all_within (framepos_t start, framepos_t end, double top, double
}
if (found.empty()) {
+ selection->clear ();
return;
}