Implement the "Reload channel emotes" menu option

This commit is contained in:
Rasmus Karlsson 2018-06-05 15:03:34 +02:00
parent c81df989c5
commit ac40bede37

View file

@ -392,6 +392,12 @@ void SplitHeader::menuMoveSplit()
void SplitHeader::menuReloadChannelEmotes()
{
auto channel = this->split->getChannel();
TwitchChannel *twitchChannel = dynamic_cast<TwitchChannel *>(channel.get());
if (twitchChannel) {
twitchChannel->reloadChannelEmotes();
}
}
void SplitHeader::menuManualReconnect()