Skip to content

Commit

Permalink
fix: Split input sometimes not accepting focus (#4958)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored Nov 11, 2023
1 parent 244efaa commit 95620e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/widgets/splits/SplitInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,8 @@ void SplitInput::installKeyPressedEvent()

void SplitInput::mousePressEvent(QMouseEvent *event)
{
this->giveFocus(Qt::MouseFocusReason);

if (this->hidden)
{
BaseWidget::mousePressEvent(event);
Expand Down

0 comments on commit 95620e6

Please sign in to comment.