From 9d30cbd22a3f78efb6984a347630d8d601002bc1 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 10 May 2025 10:52:34 +1000 Subject: make clipboard available when handling user-invoked chat commands --- source/frontend/StarMainInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarMainInterface.cpp') diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index e3b1860..572b39f 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -878,7 +878,7 @@ void MainInterface::doChat(String const& chat, bool addToHistory) { if (chat.beginsWith("/")) { m_lastCommand = chat; - for (auto const& result : m_clientCommandProcessor->handleCommand(chat)) + for (auto const& result : m_clientCommandProcessor->handleCommand(chat, true)) m_chat->addLine(result); } else { m_client->sendChat(chat, m_chat->sendMode()); -- cgit v1.2.3