diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index 5a883eee8..3d41eab16 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -230,6 +230,7 @@ std::unique_ptr SplitHeader::createMainMenu() menu->addSeparator(); menu->addAction("Reload channel emotes", this, SLOT(reloadChannelEmotes())); + menu->addAction("Reload subscriber emotes", this, SLOT(reloadSubscriberEmotes())); menu->addAction("Reconnect", this, SLOT(reconnect())); menu->addAction("Clear messages", this->split_, &Split::clear); // menu->addSeparator(); @@ -539,6 +540,11 @@ void SplitHeader::reloadChannelEmotes() twitchChannel->refreshChannelEmotes(); } +void SplitHeader::reloadSubscriberEmotes() +{ + getApp()->accounts->twitch.getCurrent()->loadEmotes(); +} + void SplitHeader::reconnect() { getApp()->twitch.server->connect(); diff --git a/src/widgets/splits/SplitHeader.hpp b/src/widgets/splits/SplitHeader.hpp index 7da6657be..fb58833ee 100644 --- a/src/widgets/splits/SplitHeader.hpp +++ b/src/widgets/splits/SplitHeader.hpp @@ -75,6 +75,7 @@ private: public slots: void moveSplit(); void reloadChannelEmotes(); + void reloadSubscriberEmotes(); void reconnect(); };