mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Fix a few dialogues which don't reset their session pointer correctly on a new session. Fixes #3342.
git-svn-id: svn://localhost/ardour2/branches/3.0@7451 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2aaec8beeb
commit
12e3fb4541
4 changed files with 23 additions and 0 deletions
|
|
@ -1076,6 +1076,12 @@ Editor::set_session (Session *t)
|
|||
sfbrowser->set_session (_session);
|
||||
}
|
||||
|
||||
for (ARDOUR::DataType::iterator i = ARDOUR::DataType::begin(); i != ARDOUR::DataType::end(); ++i) {
|
||||
if (_global_port_matrix[*i]) {
|
||||
_global_port_matrix[*i]->set_session (_session);
|
||||
}
|
||||
}
|
||||
|
||||
compute_fixed_ruler_scale ();
|
||||
|
||||
/* there are never any selected regions at startup */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue