Skip to content

Commit cdc235f

Browse files
committed
identify results: don't close dialog when last feature/layer is removed (fixes #10415)
1 parent cff5b56 commit cdc235f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/app/qgsidentifyresultsdialog.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -1363,11 +1363,6 @@ void QgsIdentifyResultsDialog::layerDestroyed()
13631363
tblResults->removeRow( i );
13641364
}
13651365
}
1366-
1367-
if ( lstResults->topLevelItemCount() == 0 )
1368-
{
1369-
close();
1370-
}
13711366
}
13721367

13731368
void QgsIdentifyResultsDialog::disconnectLayer( QObject *layer )
@@ -1427,11 +1422,6 @@ void QgsIdentifyResultsDialog::featureDeleted( QgsFeatureId fid )
14271422
tblResults->removeRow( i );
14281423
}
14291424
}
1430-
1431-
if ( lstResults->topLevelItemCount() == 0 )
1432-
{
1433-
close();
1434-
}
14351425
}
14361426

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

0 commit comments

Comments
 (0)