From 9d90de6b8c2e3f9573400fb0396e77aa48e31112 Mon Sep 17 00:00:00 2001 From: Tal Neoran Date: Sat, 7 Aug 2021 01:04:09 +0300 Subject: [PATCH] Handle moderation mode and filters in split popup (#3130) --- CHANGELOG.md | 2 ++ src/widgets/splits/Split.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6983eba34..ad4963847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unversioned +- Bugfix: Moderation mode and active filters are now preserved when opening a split as a popup. (#3113, #3130) + ## 2.3.4 - Major: Newly uploaded Twitch emotes are once again present in emote picker and can be autocompleted with Tab as well. (#2992) diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index e601d35ab..2263ee7fc 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -624,8 +624,10 @@ void Split::popup() window.getNotebook().getOrAddSelectedPage())); split->setChannel(this->getIndirectChannel()); - window.getNotebook().getOrAddSelectedPage()->appendSplit(split); + split->setModerationMode(this->getModerationMode()); + split->setFilters(this->getFilters()); + window.getNotebook().getOrAddSelectedPage()->appendSplit(split); window.show(); }