diff --git a/src/widgets/splits/EmoteInputPopup.cpp b/src/widgets/splits/EmoteInputPopup.cpp index 13f7b130..3a27b7ee 100644 --- a/src/widgets/splits/EmoteInputPopup.cpp +++ b/src/widgets/splits/EmoteInputPopup.cpp @@ -103,7 +103,7 @@ void EmoteInputPopup::updateEmotes(const QString &text, ChannelPtr channel) emote.emote, emote.emote->name.string + " - " + emote.providerName, this->callback_)); - if (count++ == maxLineCount) + if (count++ == maxEmoteCount) break; } diff --git a/src/widgets/splits/EmoteInputPopup.hpp b/src/widgets/splits/EmoteInputPopup.hpp index ced9c8f1..e9aba7ba 100644 --- a/src/widgets/splits/EmoteInputPopup.hpp +++ b/src/widgets/splits/EmoteInputPopup.hpp @@ -13,7 +13,7 @@ class EmoteInputPopup : public BasePopup { using ActionCallback = std::function; - constexpr static int maxLineCount = 10; + constexpr static int maxEmoteCount = 200; public: EmoteInputPopup(QWidget *parent = nullptr);