summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2007-03-09 06:02:35 +0000
committerTaybin Rutkin <taybin@taybin.com>2007-03-09 06:02:35 +0000
commit355c078023fb10078e24ac171e99125c02e08fad (patch)
tree72a7dbad1b508cbb7f10fbdcdff75e8cb26892d3 /gtk2_ardour/editor.cc
parente497c6ef12b37759f9e82d3a58d5b2d5768154a9 (diff)
Bug fix for displaying routes after a hidden route.
git-svn-id: svn://localhost/ardour2/trunk@1564 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index aa37d297ed..0031c613f1 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -1093,8 +1093,7 @@ Editor::connect_to_session (Session *t)
}
session->locations()->add (loc, false);
session->set_auto_loop_location (loc);
- }
- else {
+ } else {
// force name
loc->set_name (_("Loop"));
}
@@ -1107,8 +1106,7 @@ Editor::connect_to_session (Session *t)
}
session->locations()->add (loc, false);
session->set_auto_punch_location (loc);
- }
- else {
+ } else {
// force name
loc->set_name (_("Punch"));
}