diff --git a/src/widget/contentdialogmanager.cpp b/src/widget/contentdialogmanager.cpp index c05404a4d..94827af52 100644 --- a/src/widget/contentdialogmanager.cpp +++ b/src/widget/contentdialogmanager.cpp @@ -177,7 +177,7 @@ ContentDialog* ContentDialogManager::getGroupDialog(const GroupId& groupId) cons void ContentDialogManager::addContentDialog(ContentDialog& dialog) { currentDialog = &dialog; - connect(&dialog, &ContentDialog::willClose, this, &ContentDialogManager::onDialogClose); + connect(&dialog, &ContentDialog::willClose, this, &ContentDialogManager::onDialogClose, Qt::QueuedConnection); connect(&dialog, &ContentDialog::activated, this, &ContentDialogManager::onDialogActivate); }