Handle moderation mode and filters in split popup (#3130)

This commit is contained in:
Tal Neoran 2021-08-07 01:04:09 +03:00 committed by GitHub
parent 4e5170799f
commit 9d90de6b8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -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();
}