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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 1d0bbca62..959ae6a2c 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -26,7 +26,7 @@
#include "gui/mailmessage.h"
-#include "gui/windows/mailedit.h"
+#include "gui/windows/maileditwindow.h"
#include "gui/windows/mailview.h"
#include "gui/windows/setupwindow.h"
@@ -113,7 +113,7 @@ void MailWindow::action(const ActionEvent &event)
else if (eventId == "new")
{
if (!mailEditWindow)
- mailEditWindow = new MailEdit();
+ mailEditWindow = new MailEditWindow();
}
else if (eventId == "open")
{