Made left-clicking splitheader focus split (#2720)

This commit is contained in:
Paweł
2021-05-01 16:14:05 +02:00
committed by GitHub
parent 77fa1322de
commit 6c9fd4f204
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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();