summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-27 13:54:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-27 13:54:26 +0300
commit2bdabb720aebef9f8b3fbb029ac6b60ed5dcbddc (patch)
tree23d5047699e14b004535218f7a5b75e28525ce5a /src/gui/windows/mailwindow.cpp
parent072f39dfc98c8b7a5a584b0381972552617f07f0 (diff)
downloadplus-2bdabb720aebef9f8b3fbb029ac6b60ed5dcbddc.tar.gz
plus-2bdabb720aebef9f8b3fbb029ac6b60ed5dcbddc.tar.bz2
plus-2bdabb720aebef9f8b3fbb029ac6b60ed5dcbddc.tar.xz
plus-2bdabb720aebef9f8b3fbb029ac6b60ed5dcbddc.zip
Add incomplete mail edit window.
Diffstat (limited to 'src/gui/windows/mailwindow.cpp')
-rw-r--r--src/gui/windows/mailwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 774ea655c..873242e5d 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -24,6 +24,7 @@
#include "gui/models/extendednamesmodel.h"
+#include "gui/windows/mailedit.h"
#include "gui/windows/setupwindow.h"
#include "gui/widgets/button.h"
@@ -98,4 +99,8 @@ void MailWindow::action(const ActionEvent &event)
{
mailHandler->refresh();
}
+ else if (eventId == "new")
+ {
+ new MailEdit();
+ }
}