summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-14 00:53:55 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-14 00:53:55 +0300
commite0c34ad3043969762faf1c5268bd9607c190b80f (patch)
tree84f15de0dfba122e8515e2f42856e5ccc5d5640e /src/gui
parentb524feea03eb2594ac17d895026aad5f61fc66e9 (diff)
downloadmanaplus-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/gui')
-rw-r--r--src/gui/windows/mailviewwindow.cpp5
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();
}
}