Skip to content

Commit

Permalink
Fix list to set
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 99be260 commit b4903ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/codeeditors/qgscodeeditorsql.cpp
Expand Up @@ -116,7 +116,7 @@ QStringList QgsCodeEditorSQL::extraKeywords() const

void QgsCodeEditorSQL::setExtraKeywords( const QStringList &extraKeywords )
{
mExtraKeywords = extraKeywords.toSet();
mExtraKeywords = qgis::listToSet( extraKeywords );
updateApis();
}

Expand All @@ -127,7 +127,7 @@ QStringList QgsCodeEditorSQL::fieldNames() const

void QgsCodeEditorSQL::setFieldNames( const QStringList &fieldNames )
{
mFieldNames = fieldNames.toSet();
mFieldNames = qgis::listToSet( fieldNames );
updateApis();
}

Expand Down

0 comments on commit b4903ae

Please sign in to comment.