From ac40bede37f434a29ce751d0e8541c9b699ffa68 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 5 Jun 2018 15:03:34 +0200 Subject: [PATCH] Implement the "Reload channel emotes" menu option --- src/widgets/helper/splitheader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/widgets/helper/splitheader.cpp b/src/widgets/helper/splitheader.cpp index 3510c67a6..8f57ca7c5 100644 --- a/src/widgets/helper/splitheader.cpp +++ b/src/widgets/helper/splitheader.cpp @@ -392,6 +392,12 @@ void SplitHeader::menuMoveSplit() void SplitHeader::menuReloadChannelEmotes() { + auto channel = this->split->getChannel(); + TwitchChannel *twitchChannel = dynamic_cast(channel.get()); + + if (twitchChannel) { + twitchChannel->reloadChannelEmotes(); + } } void SplitHeader::menuManualReconnect()