mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update text for curve names and plot titles when source data changes
* Update titles after dropping vectors into plot * Do not replace _Name variables * Make sure signals are wired when opening a project file * Add auto name field and set default on * Remove includes from header files
This commit is contained in:
@@ -424,6 +424,22 @@ void RimSummaryCaseMainCollection::loadAllSummaryCaseData()
|
||||
RimSummaryCaseMainCollection::loadSummaryCaseData( sumCases );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCaseMainCollection::initAfterRead()
|
||||
{
|
||||
for ( auto sumCase : topLevelSummaryCases() )
|
||||
{
|
||||
sumCase->nameChanged.connect( this, &RimSummaryCaseMainCollection::onCaseNameChanged );
|
||||
}
|
||||
|
||||
for ( auto caseCollection : summaryCaseCollections() )
|
||||
{
|
||||
caseCollection->caseNameChanged.connect( this, &RimSummaryCaseMainCollection::onCaseNameChanged );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user