Skip to content

Commit

Permalink
QgsJoinDialog offers only vector-layer for joining.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebDieBln committed Jan 19, 2016
1 parent 5e5f95b commit 01603d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsjoindialog.cpp
Expand Up @@ -40,6 +40,7 @@ QgsJoinDialog::QgsJoinDialog( QgsVectorLayer* layer, QList<QgsMapLayer*> already

mTargetFieldComboBox->setLayer( mLayer );

mJoinLayerComboBox->setFilters( QgsMapLayerProxyModel::VectorLayer );
mJoinLayerComboBox->setExceptedLayerList( alreadyJoinedLayers );
connect( mJoinLayerComboBox, SIGNAL( layerChanged( QgsMapLayer* ) ), mJoinFieldComboBox, SLOT( setLayer( QgsMapLayer* ) ) );
connect( mJoinLayerComboBox, SIGNAL( layerChanged( QgsMapLayer* ) ), this, SLOT( joinedLayerChanged( QgsMapLayer* ) ) );
Expand Down

0 comments on commit 01603d7

Please sign in to comment.