diff --git a/recipientseditor.cpp b/recipientseditor.cpp index 62e11b904..8cbd670d5 100644 --- a/recipientseditor.cpp +++ b/recipientseditor.cpp @@ -891,7 +891,8 @@ void RecipientsEditor::saveDistributionList() { DistributionListDialog *dlg = new DistributionListDialog( this ); dlg->setRecipients( mRecipientsView->recipients() ); - dlg->show(); + dlg->exec(); + delete dlg; } Recipient::List RecipientsEditor::recipients() const