diff --git a/CHANGELOG.md b/CHANGELOG.md index df17e89f8..c4e78e084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unversioned +- Minor: Added image links to the badge context menu. (#2667) - Minor: Added a setting to hide Twitch Predictions badges. (#2668) - Bugfix: Added missing Copy/Open link context menu entries to emotes in Emote Picker. (#2670) - Bugfix: Fixed visual glitch with smooth scrolling. (#2084) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index f67151575..e68d7b8e1 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1827,6 +1827,13 @@ void ChannelView::addContextMenuItems( auto menu = new QMenu; previousMenu = menu; + if (creatorFlags.hasAny({MessageElementFlag::Badges})) + { + auto badgeElement = dynamic_cast(&creator); + addEmoteContextMenuItems(*badgeElement->getEmote(), creatorFlags, + *menu); + } + // Emote actions if (creatorFlags.hasAny( {MessageElementFlag::EmoteImages, MessageElementFlag::EmojiImage}))