Skip to content
Permalink
Browse files
Fix list to set
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 99be260 commit b4903aeb4433120173544bd96f87796a8c68e319
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/codeeditors/qgscodeeditorsql.cpp
@@ -116,7 +116,7 @@ QStringList QgsCodeEditorSQL::extraKeywords() const

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

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

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

0 comments on commit b4903ae

Please sign in to comment.