From 337b043bc379927d42e401dfd89d3f1efb6e5c61 Mon Sep 17 00:00:00 2001 From: nerix Date: Wed, 13 Sep 2023 22:38:32 +0200 Subject: [PATCH] Fix input in reply thread popup losing focus when dragging (#4815) --- CHANGELOG.md | 1 + src/widgets/dialogs/ReplyThreadPopup.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f9195528..8ff662614 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Bugfix: Fixed a data race when disconnecting from Twitch PubSub. (#4771) - Bugfix: Fixed `/shoutout` command not working with usernames starting with @'s (e.g. `/shoutout @forsen`). (#4800) - Bugfix: Fixed selection of tabs after closing a tab when using "Live Tabs Only". (#4770) +- Bugfix: Fixed input in reply thread popup losing focus when dragging. (#4815) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) - Dev: Temporarily disable High DPI scaling on Qt6 builds on Windows. (#4767) - Dev: Tests now run on Ubuntu 22.04 instead of 20.04 to loosen C++ restrictions in tests. (#4774) diff --git a/src/widgets/dialogs/ReplyThreadPopup.cpp b/src/widgets/dialogs/ReplyThreadPopup.cpp index 5d688d7f2..02c90c5b9 100644 --- a/src/widgets/dialogs/ReplyThreadPopup.cpp +++ b/src/widgets/dialogs/ReplyThreadPopup.cpp @@ -1,4 +1,4 @@ -#include "ReplyThreadPopup.hpp" +#include "widgets/dialogs/ReplyThreadPopup.hpp" #include "Application.hpp" #include "common/Channel.hpp" @@ -149,7 +149,7 @@ ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, QWidget *parent, } }); hbox->addWidget(this->ui_.notificationCheckbox, 1); - this->ui_.notificationCheckbox->setFocusPolicy(Qt::ClickFocus); + this->ui_.notificationCheckbox->setFocusPolicy(Qt::NoFocus); } if (closeAutomatically)