From e643e7f6abe63aff123e07a0137afdda3987d4e6 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 29 Oct 2019 13:38:45 +1000 Subject: [PATCH] [layouts] Fix crash when deleting layouts from designer window Fixes #32465 --- src/app/layout/qgslayoutdesignerdialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/layout/qgslayoutdesignerdialog.cpp b/src/app/layout/qgslayoutdesignerdialog.cpp index 8a144eec6d9..eaaf16cae6e 100644 --- a/src/app/layout/qgslayoutdesignerdialog.cpp +++ b/src/app/layout/qgslayoutdesignerdialog.cpp @@ -990,7 +990,6 @@ void QgsLayoutDesignerDialog::setMasterLayout( QgsMasterLayoutInterface *layout connect( obj, &QObject::destroyed, this, [ = ] { this->close(); - QgsApplication::sendPostedEvents( nullptr, QEvent::DeferredDelete ); } ); setTitle( mMasterLayout->name() );