From 782b28a1a8b32aa8018fb8a9f8355d427b7be0a2 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 25 Nov 2016 01:39:22 +1100 Subject: [PATCH] amend previous commit --- gtk2_ardour/editor_tempodisplay.cc | 4 ++-- 1 file 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())); } } -- 2.30.2