summaryrefslogtreecommitdiff
path: root/gtk2_ardour/crossfade_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/crossfade_view.cc')
-rw-r--r--gtk2_ardour/crossfade_view.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/crossfade_view.cc b/gtk2_ardour/crossfade_view.cc
index 63c2115b87..521c33240a 100644
--- a/gtk2_ardour/crossfade_view.cc
+++ b/gtk2_ardour/crossfade_view.cc
@@ -126,7 +126,10 @@ CrossfadeView::crossfade_changed (Change what_changed)
if (what_changed & BoundsChanged) {
set_position (crossfade->position(), this);
set_duration (crossfade->length(), this);
- need_redraw_curves = true;
+
+ /* set_duration will call reset_width_dependent_items which in turn will call redraw_curves via active_changed,
+ so no need for us to call it */
+ need_redraw_curves = false;
}
if (what_changed & Crossfade::FollowOverlapChanged) {