diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-02 23:14:43 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-02 23:14:43 +0000 |
commit | c2da4ec8f988f6f8b9e426b03222a2c687c72edb (patch) | |
tree | 0223f8268e4462f0f1494c2795adb6367cee975a /gtk2_ardour/editor_tempodisplay.cc | |
parent | ceb1025c2c8ab1246a51c3967ee5a79773a4e008 (diff) |
Prevent multiple tempo / meter changes being inserted at the same point
on the timeline; adding a new change at the same time as an existing one
will replace the existing one. Should prevent #769 from happening.
Some cleanups and tweaks to tempo / meter dialogues. Desensitize Remove
menu option for those changes that can't be removed.
git-svn-id: svn://localhost/ardour2/branches/3.0@7045 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index fd598b8c81..edfaee3694 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -296,7 +296,7 @@ Editor::remove_tempo_marker (ArdourCanvas::Item* item) } if (tempo_marker->tempo().movable()) { - Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::real_remove_tempo_marker), &tempo_marker->tempo())); + Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::real_remove_tempo_marker), &tempo_marker->tempo())); } } |