summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp7
-rw-r--r--src/actions/chat.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 336b03065..b18a71218 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -499,4 +499,11 @@ impHandler0(chatLangTab)
return true;
}
+impHandler0(chatGmTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::GM);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index 980ca0762..b67344c17 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -54,6 +54,7 @@ namespace Actions
decHandler(chatBattleTab);
decHandler(chatTradeTab);
decHandler(chatLangTab);
+ decHandler(chatGmTab);
} // namespace Actions
#undef decHandler