Allow ChannelViews without a Split (#4747)

This commit is contained in:
nerix
2023-12-17 21:49:37 +01:00
committed by GitHub
parent 269e7a07b4
commit d105a68dba
4 changed files with 69 additions and 9 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ EmotePopup::EmotePopup(QWidget *parent)
};
auto makeView = [&](QString tabTitle, bool addToNotebook = true) {
auto *view = new ChannelView();
auto *view = new ChannelView(nullptr);
view->setOverrideFlags(MessageElementFlags{
MessageElementFlag::Default, MessageElementFlag::AlwaysShow,