Skip to content

Commit

Permalink
[FIX #7483] Attribute table changed selection on layer twice subseque…
Browse files Browse the repository at this point in the history
…ntly

This led to a crash and was superfluent
  • Loading branch information
m-kuhn committed Apr 2, 2013
1 parent 45b931b commit b035527
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/app/qgsattributetabledialog.cpp
Expand Up @@ -355,11 +355,6 @@ void QgsAttributeTableDialog::on_mSaveEditsButton_clicked()
QgisApp::instance()->saveEdits( mLayer, true, true );
}

void QgsAttributeTableDialog::on_mTableView_selectionChangeFinished( const QgsFeatureIds &selectedFeatures )
{
mLayer->setSelectedFeatures( selectedFeatures );
}

void QgsAttributeTableDialog::on_mAddFeature_clicked()
{
if ( !mLayer->isEditable() )
Expand Down
1 change: 0 additions & 1 deletion src/app/qgsattributetabledialog.h
Expand Up @@ -81,7 +81,6 @@ class QgsAttributeTableDialog : public QDialog, private Ui::QgsAttributeTableDia
*/
void on_mSaveEditsButton_clicked();

void on_mTableView_selectionChangeFinished( const QgsFeatureIds &selectedFeatures );
/**
* Inverts selection
*/
Expand Down

0 comments on commit b035527

Please sign in to comment.