From 194cda54f0bb15befcb0449152957b16f922bb49 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Aug 2016 22:15:31 +0300 Subject: In social window, guild menu add command for change guild notice. --- src/actions/chat.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/actions') diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index a8a7ac827..0a922daea 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -651,6 +651,15 @@ impHandler(guildNotice) if (!localPlayer) return false; const std::string args = event.args; + if (args.empty()) + { + // TRANSLATORS: dialog header + inputActionReplayListener.openDialog(_("Guild notice"), + "", + InputAction::GUILD_NOTICE); + return true; + } + const std::string str1 = args.substr(0, 60); std::string str2(""); if (args.size() > 60) -- cgit v1.2.3-60-g2f50