mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
More hierarchical work
This commit is contained in:
@@ -1608,9 +1608,8 @@ void RimAnalysisPlot::updatePlotTitle()
|
||||
}
|
||||
}
|
||||
|
||||
QString root = RiaTextStringTools::findCommonRoot( caseNameList );
|
||||
QRegularExpression trimRe( "[^a-zA-Z0-9]+$" );
|
||||
QString trimmedRoot = root.replace( trimRe, "" );
|
||||
QString root = RiaTextStringTools::commonRoot( caseNameList );
|
||||
QString trimmedRoot = RiaTextStringTools::trimNonAlphaNumericCharacters( root );
|
||||
if ( !trimmedRoot.isEmpty() )
|
||||
{
|
||||
autoTitle += trimmedRoot;
|
||||
|
||||
Reference in New Issue
Block a user