summaryrefslogtreecommitdiff
path: root/src/gui/windows/maileditwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-06 17:33:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-06 17:33:09 +0300
commitaa5398300e95ad3075a3aab74b5ddeebf597d671 (patch)
treeb59896b5e59327f924cf23bdb4ac12296fde5ba7 /src/gui/windows/maileditwindow.cpp
parent893df56fe05fb0e865fda77477c37200bbab018b (diff)
downloadmanaplus-aa5398300e95ad3075a3aab74b5ddeebf597d671.tar.gz
manaplus-aa5398300e95ad3075a3aab74b5ddeebf597d671.tar.bz2
manaplus-aa5398300e95ad3075a3aab74b5ddeebf597d671.tar.xz
manaplus-aa5398300e95ad3075a3aab74b5ddeebf597d671.zip
Fix closing mail edit window by top right corner.
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r--src/gui/windows/maileditwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 51495563d..922d09957 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -195,3 +195,8 @@ void MailEditWindow::setMessage(const std::string &str)
{
mMessageField->setText(str);
}
+
+void MailEditWindow::close()
+{
+ scheduleDelete();
+}