mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Trim spaces and avoid spaces in generated address text
* Trim spaces and avoid spaces in generated address text * Fix unit test
This commit is contained in:
@@ -232,7 +232,12 @@ void RicSummaryPlotFeatureImpl::createSummaryPlotsFromArgumentLine( const QStrin
|
||||
}
|
||||
else
|
||||
{
|
||||
allCurveAddressFilters.push_back( arguments[optionIdx] );
|
||||
// Remove space from address string https://github.com/OPM/ResInsight/issues/9707
|
||||
|
||||
QString stringWithoutSpaces = arguments[optionIdx];
|
||||
stringWithoutSpaces.remove( " " );
|
||||
|
||||
allCurveAddressFilters.push_back( stringWithoutSpaces );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user