mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Playlist UI tweaks: move pgroup_id out of the menu text, and into a column of the playlist selector
This commit is contained in:
parent
1c9bb9ab41
commit
e63dc0eb29
3 changed files with 6 additions and 3 deletions
|
|
@ -2505,8 +2505,6 @@ RouteUI::build_playlist_menu ()
|
|||
/* add the playlists to the menu */
|
||||
for (vector<boost::shared_ptr<Playlist> >::iterator i = playlists_tr.begin(); i != playlists_tr.end(); ++i) {
|
||||
string text = (*i)->name();
|
||||
if ((*i)->pgroup_id().length()>0)
|
||||
text.append( string_compose( " (%1)", (*i)->pgroup_id()));
|
||||
playlist_items.push_back (RadioMenuElem (playlist_group, text));
|
||||
RadioMenuItem *item = static_cast<RadioMenuItem*>(&playlist_items.back());
|
||||
item->signal_toggled().connect(sigc::bind (sigc::mem_fun (*this, &RouteUI::use_playlist), item, boost::weak_ptr<Playlist> (*i)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue