Merge pull request #61555 from kikitte/master

clear features in QgsIdentifyResultsDialog::clear to avoid memory leak
This commit is contained in:
Alexander Bruy 2025-04-22 12:23:02 +01:00 committed by GitHub
commit 49c7aecbb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1824,6 +1824,8 @@ void QgsIdentifyResultsDialog::clear()
delete curve;
mPlotCurves.clear();
mFeatures.clear();
mExpressionContextScope = QgsExpressionContextScope();
// keep it visible but disabled, it can switch from disabled/enabled