summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.cpp
diff options
context:
space:
mode:
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();
+ }
}