mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Handle IF keyword in any upper/lowercase variation
This commit is contained in:
1 parent
36e93aff9a
commit
e7ac0675db
1 file changed
+1
-1
+1
-1
@@ -65,7 +65,7 @@ bool ExpressionParser::evaluate(const QString& expressionText, QString* errorTex
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool ExpressionParser::expandIfStatementsAndEvaluate(const QString& expressionText, QString* errorText /*= nullptr*/)
|
||||
{
|
||||
if (expressionText.contains("if"))
|
||||
if (expressionText.contains("if", Qt::CaseInsensitive))
|
||||
{
|
||||
QString expandedExpressionText = ExpressionParserImpl::expandIfStatements(expressionText);
|
||||
|
||||
|
||||
Reference in new issue
Block a user