Skip to content
Browse files

Fix Multi-Edit dialog is never deleted when launched from the main


This results in a leak, plus a gradual slow down in QGIS performance
over time if many multi-edit operations have been performed in a session
(because there's a lot of resultant widgets hanging around and listening
to selection changes + iterating through the selected features as a result)
  • Loading branch information
nyalldawson committed Mar 10, 2020
1 parent 82748a5 commit 6a597e9fad35ca4819d93e040a9b10fc5fd113cd
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -9283,6 +9283,7 @@ void QgisApp::modifyAttributesOfSelectedFeatures()

QgsAttributeDialog *dialog = new QgsAttributeDialog( vl, &f, false, this, true, context );
dialog->setMode( QgsAttributeEditorContext::MultiEditMode );
dialog->setAttribute( Qt::WA_DeleteOnClose );

0 comments on commit 6a597e9

Please sign in to comment.
You can’t perform that action at this time.