Commit 7454926a authored by Laurent Montel's avatar Laurent Montel 😁

Fix crash when we close sieveeditor

parent aef9fbf3
...@@ -86,6 +86,7 @@ ManageSieveWidget::ManageSieveWidget(QWidget *parent) ...@@ -86,6 +86,7 @@ ManageSieveWidget::ManageSieveWidget(QWidget *parent)
ManageSieveWidget::~ManageSieveWidget() ManageSieveWidget::~ManageSieveWidget()
{ {
disconnect(d->mTreeView, &ManageSieveTreeView::itemSelectionChanged, this, &ManageSieveWidget::slotUpdateButtons);
clear(); clear();
delete d; delete d;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment