summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-21 10:12:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-21 10:12:20 +0000
commit6862cd48a22229b6278cfd7da09633b888778f1c (patch)
treee82ca52db2d0fc3eaf7cf77c32f8d2d7369f7689
parentfbbe1988a922b036b2be0dc7347262a0d3a50584 (diff)
fix from markus s. for visual state operations, too bad this missed 2.7
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4229 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/editor_ops.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 5efe432924..0572665fa2 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -6167,9 +6167,7 @@ Editor::goto_visual_state (uint32_t n)
void
Editor::start_visual_state_op (uint32_t n)
{
- cerr << "Start\n";
if (visual_state_op_connection.empty()) {
- cerr << "\tqueue\n";
visual_state_op_connection = Glib::signal_timeout().connect (bind (mem_fun (*this, &Editor::end_visual_state_op), n), 1000);
}
}
@@ -6177,9 +6175,7 @@ Editor::start_visual_state_op (uint32_t n)
void
Editor::cancel_visual_state_op (uint32_t n)
{
- cerr << "Cancel\n";
- if (!visual_state_op_connection.empty()) {
- cerr << "\tgoto\n";
+ if (visual_state_op_connection.empty()) {
visual_state_op_connection.disconnect();
goto_visual_state (n);
}