#1444 Reallocate summary case file names when opening project

This commit is contained in:
Bjørnar Grip Fjær
2017-05-03 12:31:45 +02:00
parent 15d3e08f70
commit 3fc0a59f06
8 changed files with 44 additions and 9 deletions

View File

@@ -264,3 +264,14 @@ QString RimSummaryCaseCollection::uniqueShortNameForCase(RimSummaryCase* summary
return shortName;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSummaryCaseCollection::updateFilePathsFromProjectPath(const QString & newProjectPath, const QString & oldProjectPath)
{
for (auto summaryCase : m_cases)
{
summaryCase->updateFilePathsFromProjectPath(newProjectPath, oldProjectPath);
}
}