summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 00:24:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 00:24:45 +0300
commita0e63acd1443caa477ac5f7954557a17949c3675 (patch)
tree560c07d6147da181911f934e520b0acc48f68996 /src/gui/windows
parent4f75520b908b11f48c566c7bf0c10f6be5ab74bf (diff)
downloadplus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.gz
plus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.bz2
plus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.xz
plus-a0e63acd1443caa477ac5f7954557a17949c3675.zip
Close mail edit window on success send.
Also show mail send error messages.
Diffstat (limited to 'src/gui/windows')
-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();
}