Skip to content

Commit

Permalink
fix #3671: update view after search in attributetable
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 9, 2011
1 parent d144f49 commit fb56838
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/attributetable/qgsattributetabledialog.cpp
Expand Up @@ -598,12 +598,7 @@ void QgsAttributeTableDialog::doSearch( QString searchString )
return;
}

// update view
updateSelection();

disconnect( mLayer, SIGNAL( selectionChanged() ), this, SLOT( updateSelectionFromLayer() ) );
mLayer->setSelectedFeatures( mSelectedFeatures );
connect( mLayer, SIGNAL( selectionChanged() ), this, SLOT( updateSelectionFromLayer() ) );

QString str;
QWidget *w = mDock ? qobject_cast<QWidget*>( mDock ) : qobject_cast<QWidget*>( this );
Expand Down

0 comments on commit fb56838

Please sign in to comment.