diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-14 00:53:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-14 00:53:55 +0300 |
commit | e0c34ad3043969762faf1c5268bd9607c190b80f (patch) | |
tree | 84f15de0dfba122e8515e2f42856e5ccc5d5640e /src | |
parent | b524feea03eb2594ac17d895026aad5f61fc66e9 (diff) | |
download | manaplus-e0c34ad3043969762faf1c5268bd9607c190b80f.tar.gz manaplus-e0c34ad3043969762faf1c5268bd9607c190b80f.tar.bz2 manaplus-e0c34ad3043969762faf1c5268bd9607c190b80f.tar.xz manaplus-e0c34ad3043969762faf1c5268bd9607c190b80f.zip |
Auto validate to field in reply mail.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/mailviewwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index f81921f4a..ea0aa9a91 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -206,6 +206,11 @@ void MailViewWindow::action(const ActionEvent &event) mailEditWindow->setTo(mMessage->sender); mailEditWindow->setSubject("Re:" + mMessage->title); mailEditWindow->setMessage(">" + mMessage->text); + mail2Handler->queueCheckName(MailQueueType::ValidateTo, + mMessage->sender, + std::string(), + std::string(), + 0); scheduleDelete(); } } |