Make playlist selected from another track visible in the playlist menu
git-svn-id: svn://localhost/ardour2/trunk@1189 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
317af79f13
commit
ac2a38784b
@ -1283,9 +1283,15 @@ RouteTimeAxisView::build_playlist_menu (Gtk::Menu * menu)
|
||||
if (ds->playlist()->id() == (*i)->id()) {
|
||||
static_cast<RadioMenuItem*>(&playlist_items.back())->set_active();
|
||||
}
|
||||
} else if (ds->playlist()->id() == (*i)->id()) {
|
||||
playlist_items.push_back (RadioMenuElem (playlist_group, (*i)->name(), bind (mem_fun (*this, &RouteTimeAxisView::use_playlist), (*i))));
|
||||
static_cast<RadioMenuItem*>(&playlist_items.back())->set_active();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
playlist_items.push_back (SeparatorElem());
|
||||
playlist_items.push_back (MenuElem (_("Rename"), mem_fun(*this, &RouteTimeAxisView::rename_current_playlist)));
|
||||
playlist_items.push_back (SeparatorElem());
|
||||
|
Loading…
Reference in New Issue
Block a user