summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/maileditwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index ec9b32825..5dfa769f6 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -191,6 +191,7 @@ void MailEditWindow::close()
{
if (mUseMail2)
mail2Handler->cancelWriteMail();
+ mailEditWindow = nullptr;
scheduleDelete();
}