Merge branch 'waveview_caching_for_upstream' of https://github.com/nmains/ardour...
[ardour.git] / gtk2_ardour / editor_selection.cc
index 59425b289c362f71cf423eb747b9059427186860..e1027e4e9bd0418018e59340b16d2277d6aab233 100644 (file)
@@ -1489,6 +1489,8 @@ Editor::select_all_within (framepos_t start, framepos_t end, double top, double
        }
 
        if (found.empty()) {
+               selection->clear_objects();
+               selection->clear_time ();
                return;
        }