Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Address review comment
  • Loading branch information
nyalldawson committed Mar 14, 2020
1 parent edfc511 commit 8ebfc85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/processing/qgsprocessingparameters.cpp
Expand Up @@ -6759,14 +6759,14 @@ void QgsProcessingParameterDatabaseSchema::setParentConnectionParameterName( con
QVariantMap QgsProcessingParameterDatabaseSchema::toVariantMap() const
{
QVariantMap map = QgsProcessingParameterDefinition::toVariantMap();
map.insert( QStringLiteral( "mParentLayerParameterName" ), mParentConnectionParameterName );
map.insert( QStringLiteral( "mParentConnectionParameterName" ), mParentConnectionParameterName );
return map;
}

bool QgsProcessingParameterDatabaseSchema::fromVariantMap( const QVariantMap &map )
{
QgsProcessingParameterDefinition::fromVariantMap( map );
mParentConnectionParameterName = map.value( QStringLiteral( "mParentLayerParameterName" ) ).toString();
mParentConnectionParameterName = map.value( QStringLiteral( "mParentConnectionParameterName" ) ).toString();
return true;
}

Expand Down

0 comments on commit 8ebfc85

Please sign in to comment.