mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 18:16:35 +01:00
Properly drop Pianoroll references
This commit is contained in:
parent
4e58e9b7d2
commit
e61670a657
1 changed files with 2 additions and 0 deletions
|
|
@ -2236,6 +2236,8 @@ Pianoroll::set_region (std::shared_ptr<ARDOUR::MidiRegion> r)
|
|||
view->show_start (true);
|
||||
view->show_end (true);
|
||||
|
||||
r->DropReferences.connect (object_connections, invalidator (*this), std::bind (&Pianoroll::unset, this), gui_context());
|
||||
|
||||
bool provided = false;
|
||||
std::shared_ptr<Temporal::TempoMap> map;
|
||||
std::shared_ptr<SMFSource> smf (std::dynamic_pointer_cast<SMFSource> (r->midi_source()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue