From 466d85c907df6880af5149687f95c961d4ed6093 Mon Sep 17 00:00:00 2001 From: yodax Date: Sun, 25 Oct 2020 06:10:28 -0400 Subject: [PATCH] Retain channel context for user cards opened from search window (#2088) --- CHANGELOG.md | 1 + src/widgets/helper/SearchPopup.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f653f7ff..312c807f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ - Bugfix: Fixed tooltip didn't show in `EmotePopup` depending on the `Link preview` setting enabled or no (#2008) - Bugfix: Fixed Stream thumbnail not updating after using the "Change channel" feature (#2074, #2080) - Bugfix: Fix Tab key not working in the Ctrl+K Quick Switcher (#2065) +- Bugfix: Fix bug preventing moderator actions when viewing a user card from the search window (#1089) ## 2.2.0 diff --git a/src/widgets/helper/SearchPopup.cpp b/src/widgets/helper/SearchPopup.cpp index 85d94cea..8b2a06be 100644 --- a/src/widgets/helper/SearchPopup.cpp +++ b/src/widgets/helper/SearchPopup.cpp @@ -70,6 +70,7 @@ void SearchPopup::setChannelFilters(FilterSetPtr filters) void SearchPopup::setChannel(const ChannelPtr &channel) { + this->channelView_->setSourceChannel(channel); this->channelName_ = channel->getName(); this->snapshot_ = channel->getMessageSnapshot(); this->search();