summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-10-02 09:41:04 -0500
committerBen Loftis <ben@harrisonconsoles.com>2018-10-02 09:41:04 -0500
commit2b95b5b8b36fa515bfad67eec55f0b44a0d7d6bc (patch)
treec0b8d7e563100117a2f24b60c7c0fab426f62101
parent8bfbef488874fa19a2a4b60acd8bcea89e629a62 (diff)
More correct fix for 8bfbef4: the check was already there; just needed to set the dirty flag.
-rw-r--r--gtk2_ardour/editor_ops.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 4362b579d1..7a1abf49c6 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -731,14 +731,9 @@ Editor::build_region_boundary_cache ()
/* if no snap selections are set, boundary cache should be left empty */
if ( interesting_points.empty() ) {
- return;
- }
-
- /* if no snap boundaries were set, just bail out here with an empty region cache */
- if ( interesting_points.empty() ) {
_region_boundary_cache_dirty = false;
return;
- };
+ }
TimeAxisView *ontrack = 0;
TrackViewList tlist;