diff options
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 2c7895f7a8..2cab60c157 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -48,8 +48,9 @@ TempoLines::tempo_map_changed() ++next; i->second->property_x1() = - d; i->second->property_x2() = - d; + ArdourCanvas::SimpleLine* f = i->second; _lines.erase(i); - _lines.insert(make_pair(- d, i->second)); + _lines.insert(make_pair(- d, f)); i = next; } } |