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:
@@ -219,7 +219,7 @@ void RiaVariableMapper::replaceVariablesInValues()
|
||||
{
|
||||
for ( const auto& [otherVariableName, otherVariableValue] : m_newVariableToValueMap )
|
||||
{
|
||||
if ( otherVariableName != variableName )
|
||||
if ( otherVariableName != variableName && !otherVariableName.contains( postfixName() ) )
|
||||
{
|
||||
variableValue.replace( otherVariableValue, otherVariableName );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user