Skip to content

Commit

Permalink
identify results: don't close dialog when last feature/layer is remov…
Browse files Browse the repository at this point in the history
…ed (fixes #10415)
  • Loading branch information
jef-n committed Jun 17, 2014
1 parent cff5b56 commit cdc235f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/app/qgsidentifyresultsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1363,11 +1363,6 @@ void QgsIdentifyResultsDialog::layerDestroyed()
tblResults->removeRow( i );
}
}

if ( lstResults->topLevelItemCount() == 0 )
{
close();
}
}

void QgsIdentifyResultsDialog::disconnectLayer( QObject *layer )
Expand Down Expand Up @@ -1427,11 +1422,6 @@ void QgsIdentifyResultsDialog::featureDeleted( QgsFeatureId fid )
tblResults->removeRow( i );
}
}

if ( lstResults->topLevelItemCount() == 0 )
{
close();
}
}

void QgsIdentifyResultsDialog::attributeValueChanged( QgsFeatureId fid, int idx, const QVariant &val )
Expand Down

0 comments on commit cdc235f

Please sign in to comment.