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() );