diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-26 00:24:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-26 00:24:45 +0300 |
commit | a0e63acd1443caa477ac5f7954557a17949c3675 (patch) | |
tree | 560c07d6147da181911f934e520b0acc48f68996 /src/gui/windows/maileditwindow.cpp | |
parent | 4f75520b908b11f48c566c7bf0c10f6be5ab74bf (diff) | |
download | ManaVerse-a0e63acd1443caa477ac5f7954557a17949c3675.tar.gz ManaVerse-a0e63acd1443caa477ac5f7954557a17949c3675.tar.bz2 ManaVerse-a0e63acd1443caa477ac5f7954557a17949c3675.tar.xz ManaVerse-a0e63acd1443caa477ac5f7954557a17949c3675.zip |
Close mail edit window on success send.
Also show mail send error messages.
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r-- | src/gui/windows/maileditwindow.cpp | 1 |
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(); } |