update peak filename when renaming session, fixes #5869
This commit is contained in:
parent
5b74a227c8
commit
1395125283
@ -3755,6 +3755,7 @@ Session::rename (const std::string& new_name)
|
||||
string p = fs->path ();
|
||||
boost::replace_all (p, old_sources_root, _session_dir->sources_root());
|
||||
fs->set_path (p);
|
||||
SourceFactory::setup_peakfile(i->second, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user