summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-11-25 01:39:22 +1100
committernick_m <mainsbridge@gmail.com>2016-12-12 02:07:00 +1100
commit782b28a1a8b32aa8018fb8a9f8355d427b7be0a2 (patch)
treea1740068a03dd81b9566236b3089a6347b001fd7 /gtk2_ardour/editor_tempodisplay.cc
parent34e41a3ca6376d42fa1e3ada7f3373ddb43e2429 (diff)
amend previous commit
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index fa1ea786be..ea95b5bb43 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -442,7 +442,7 @@ Editor::remove_tempo_marker (ArdourCanvas::Item* item)
abort(); /*NOTREACHED*/
}
- if (tempo_marker->tempo().movable()) {
+ if (!tempo_marker->tempo().initial()) {
Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::real_remove_tempo_marker), &tempo_marker->tempo()));
}
}
@@ -559,7 +559,7 @@ Editor::remove_meter_marker (ArdourCanvas::Item* item)
abort(); /*NOTREACHED*/
}
- if (meter_marker->meter().movable()) {
+ if (!meter_marker->meter().initial()) {
Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::real_remove_meter_marker), &meter_marker->meter()));
}
}