summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/windows.cpp7
-rw-r--r--src/actions/windows.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index 4008245fa..168409366 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -44,6 +44,7 @@
#include "gui/windows/helpwindow.h"
#include "gui/windows/inventorywindow.h"
#include "gui/windows/killstats.h"
+#include "gui/windows/mailwindow.h"
#include "gui/windows/minimap.h"
#include "gui/windows/outfitwindow.h"
#include "gui/windows/setupwindow.h"
@@ -332,4 +333,10 @@ impHandler0(quickWindowShow)
return false;
}
+impHandler0(mailWindowShow)
+{
+ showHideWindow(mailWindow);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/windows.h b/src/actions/windows.h
index 59ffc502e..01727055c 100644
--- a/src/actions/windows.h
+++ b/src/actions/windows.h
@@ -54,6 +54,7 @@ namespace Actions
decHandler(bankWindowShow);
decHandler(cartWindowShow);
decHandler(quickWindowShow);
+ decHandler(mailWindowShow);
} // namespace Actions
#undef decHandler