fix: Split input sometimes not accepting focus (#4958)

This commit is contained in:
pajlada 2023-11-11 11:58:20 +01:00 committed by GitHub
parent 244efaa0a9
commit 95620e6e10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@
- Bugfix: Fixed capitalized channel names in log inclusion list not being logged. (#4848)
- Bugfix: Trimmed custom streamlink paths on all platforms making sure you don't accidentally add spaces at the beginning or end of its path. (#4834)
- Bugfix: Fixed a performance issue when displaying replies to certain messages. (#4807)
- Bugfix: Fixed an issue where certain parts of the split input wouldn't focus the split when clicked. (#4958)
- 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 Usercard popup not floating on tiling WMs on Linux when "Automatically close user popup when it loses focus" setting is enabled. (#3511)

View file

@ -691,6 +691,8 @@ void SplitInput::installKeyPressedEvent()
void SplitInput::mousePressEvent(QMouseEvent *event)
{
this->giveFocus(Qt::MouseFocusReason);
if (this->hidden)
{
BaseWidget::mousePressEvent(event);