diff --git a/CHANGELOG.md b/CHANGELOG.md index 7701d9bd9..7066b0876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Minor: Optionally remove spaces between emotes, originally made for Mm2PL/Dankerino. (#2651) - Bugfix: Added missing Copy/Open link context menu entries to emotes in Emote Picker. (#2670) - Bugfix: Fixed visual glitch with smooth scrolling. (#2084) +- Bugfix: Clicking on split header focuses its split. (#2720) ## 2.3.0 diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index c39d9f72c..d7c7496af 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -805,6 +805,8 @@ void SplitHeader::mousePressEvent(QMouseEvent *event) switch (event->button()) { case Qt::LeftButton: { + this->split_->giveFocus(Qt::MouseFocusReason); + this->dragging_ = true; this->dragStart_ = event->pos();