diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-12-11 09:13:37 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-12-11 10:51:33 -0600 |
commit | aab02cac3d23a5f8e9dd3f78867d72964866a994 (patch) | |
tree | b3bfffdd1ea35fa5af48c2af9ce524093311cea6 /gtk2_ardour/editor_ops.cc | |
parent | dade19310d5acd83d56ea4c3b720216a49c21e1d (diff) |
zoom-to-selection should clear the selection, afterwards.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 4 |
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 |