summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2017-12-11 09:13:37 -0600
committerBen Loftis <ben@harrisonconsoles.com>2017-12-11 10:51:33 -0600
commitaab02cac3d23a5f8e9dd3f78867d72964866a994 (patch)
treeb3bfffdd1ea35fa5af48c2af9ce524093311cea6 /gtk2_ardour/editor_ops.cc
parentdade19310d5acd83d56ea4c3b720216a49c21e1d (diff)
zoom-to-selection should clear the selection, afterwards.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 8557562a53..a14085443a 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1977,6 +1977,10 @@ Editor::temporal_zoom_selection (Editing::ZoomAxis axes)
if (axes == Vertical || axes == Both) {
fit_selection ();
}
+
+ //normally, we don't do anything "automatic" to the user's selection.
+ //but in this case, we will clear the selection after a zoom-to-selection.
+ selection->clear();
}
void