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 )
|
else if ( &m_yValuesSummaryAddressUiField == fieldNeedingOptions )
|
||||||
{
|
{
|
||||||
appendOptionItemsForSummaryAddresses( &options, m_yValuesSummaryCase());
|
appendOptionItemsForSummaryAddresses( &options, m_yValuesSummaryCase() );
|
||||||
}
|
}
|
||||||
else if ( &m_xValuesSummaryAddressUiField == fieldNeedingOptions )
|
else if ( &m_xValuesSummaryAddressUiField == fieldNeedingOptions )
|
||||||
{
|
{
|
||||||
@@ -624,15 +624,6 @@ void RimSummaryCurve::defineEditorAttribute( const caf::PdmFieldHandle* field,
|
|||||||
attrib->m_buttonText = "...";
|
attrib->m_buttonText = "...";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( &m_yValuesSummaryAddressUiField == field || &m_xValuesSummaryAddressUiField == field )
|
|
||||||
{
|
|
||||||
auto* attrib = dynamic_cast<caf::PdmUiLineEditorAttribute*>( attribute );
|
|
||||||
if ( attrib )
|
|
||||||
{
|
|
||||||
attrib->completerCaseSensitivity = Qt::CaseInsensitive;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public:
|
|||||||
PdmUiLineEditorAttribute()
|
PdmUiLineEditorAttribute()
|
||||||
{
|
{
|
||||||
avoidSendingEnterEventToParentWidget = false;
|
avoidSendingEnterEventToParentWidget = false;
|
||||||
completerCaseSensitivity = Qt::CaseSensitive;
|
completerCaseSensitivity = Qt::CaseInsensitive;
|
||||||
completerFilterMode = Qt::MatchContains;
|
completerFilterMode = Qt::MatchContains;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user