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:
Magne Sjaastad
2022-12-09 08:46:36 +01:00
committed by GitHub
parent c83210701c
commit 5ec32f8613
35 changed files with 109 additions and 22 deletions

View File

@@ -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 );
}