mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix pianoroll solo button (again), re-subscribe to signals
This commit is contained in:
parent
39ca1efe0f
commit
604c4f4e6d
1 changed files with 4 additions and 3 deletions
|
|
@ -1445,9 +1445,6 @@ Pianoroll::build_cc_menu (ArdourWidgets::MetaButton* ccbtn)
|
|||
void
|
||||
Pianoroll::set_track (std::shared_ptr<ARDOUR::Track> track)
|
||||
{
|
||||
if (_track == track) {
|
||||
return;
|
||||
}
|
||||
EC_LOCAL_TEMPO_SCOPE;
|
||||
|
||||
CueEditor::set_track (track);
|
||||
|
|
@ -1456,6 +1453,10 @@ Pianoroll::set_track (std::shared_ptr<ARDOUR::Track> track)
|
|||
view->set_track (std::dynamic_pointer_cast<MidiTrack> (track));
|
||||
}
|
||||
|
||||
if (_track == track) {
|
||||
return;
|
||||
}
|
||||
|
||||
cc_dropdown1->menu().items().clear ();
|
||||
cc_dropdown2->menu().items().clear ();
|
||||
cc_dropdown3->menu().items().clear ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue