diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-23 12:48:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-23 12:48:54 +0000 |
commit | e5cfd1924ae8d6f5aef276d0014b1a90f82ef5eb (patch) | |
tree | 2e0035ff26e024ba9168219638012af65e1bf43d /gtk2_ardour/redirect_box.cc | |
parent | b4989d670355c87cf8c5a458a4b03bf2d59fafa8 (diff) |
fix botched setting of editor mixer strip width, which in turn affected plugin name display
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3999 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/redirect_box.cc')
-rw-r--r-- | gtk2_ardour/redirect_box.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/redirect_box.cc b/gtk2_ardour/redirect_box.cc index de84a07db8..fb21601fd1 100644 --- a/gtk2_ardour/redirect_box.cc +++ b/gtk2_ardour/redirect_box.cc @@ -200,7 +200,9 @@ RedirectBox::set_width (Width w) return; } _width = w; - + if (w == -1) { + abort (); + } redisplay_redirects (0); } @@ -572,6 +574,7 @@ RedirectBox::add_redirect_to_display (boost::shared_ptr<Redirect> redirect) } Gtk::TreeModel::Row row = *(model->append()); + row[columns.text] = redirect_name (redirect); row[columns.redirect] = redirect; @@ -682,6 +685,7 @@ RedirectBox::show_redirect_active (boost::weak_ptr<Redirect> weak_redirect) boost::shared_ptr<Redirect> r = (*iter)[columns.redirect]; if (r == redirect) { + (*iter)[columns.text] = redirect_name (r); if (redirect->active()) { |