Skip to content

Commit

Permalink
Invalidate model filter when setting filter for QgsMapLayerComboBox, …
Browse files Browse the repository at this point in the history
…fixes filters not correctly applying to layers in combo box (fix #10656)
  • Loading branch information
nyalldawson committed Jun 21, 2014
1 parent 168eaa0 commit 1f12d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmaplayerproxymodel.cpp
Expand Up @@ -29,6 +29,7 @@ QgsMapLayerProxyModel::QgsMapLayerProxyModel( QObject *parent )
QgsMapLayerProxyModel *QgsMapLayerProxyModel::setFilters( Filters filters )
{
mFilters = filters;
invalidateFilter();
return this;
}

Expand Down

0 comments on commit 1f12d00

Please sign in to comment.