mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4815 Ensemble Curve Set : Make text match case insensitive
This commit is contained in:
@@ -394,7 +394,7 @@ QList<caf::PdmOptionItemInfo> RimSummaryCurve::calculateValueOptions( const caf:
|
||||
}
|
||||
else if ( &m_yValuesSummaryAddressUiField == fieldNeedingOptions )
|
||||
{
|
||||
appendOptionItemsForSummaryAddresses( &options, m_yValuesSummaryCase());
|
||||
appendOptionItemsForSummaryAddresses( &options, m_yValuesSummaryCase() );
|
||||
}
|
||||
else if ( &m_xValuesSummaryAddressUiField == fieldNeedingOptions )
|
||||
{
|
||||
@@ -624,15 +624,6 @@ void RimSummaryCurve::defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||
attrib->m_buttonText = "...";
|
||||
}
|
||||
}
|
||||
|
||||
if ( &m_yValuesSummaryAddressUiField == field || &m_xValuesSummaryAddressUiField == field )
|
||||
{
|
||||
auto* attrib = dynamic_cast<caf::PdmUiLineEditorAttribute*>( attribute );
|
||||
if ( attrib )
|
||||
{
|
||||
attrib->completerCaseSensitivity = Qt::CaseInsensitive;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user