mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
update peak filename when renaming session, fixes #5869
This commit is contained in:
parent
5b74a227c8
commit
1395125283
1 changed files with 1 additions and 0 deletions
|
|
@ -3755,6 +3755,7 @@ Session::rename (const std::string& new_name)
|
||||||
string p = fs->path ();
|
string p = fs->path ();
|
||||||
boost::replace_all (p, old_sources_root, _session_dir->sources_root());
|
boost::replace_all (p, old_sources_root, _session_dir->sources_root());
|
||||||
fs->set_path (p);
|
fs->set_path (p);
|
||||||
|
SourceFactory::setup_peakfile(i->second, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue