diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 3f936a9f3..29548b6cc 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -133,6 +133,8 @@ ChannelView::ChannelView(BaseWidget *parent) this->clickTimer_ = new QTimer(this); this->clickTimer_->setSingleShot(true); this->clickTimer_->setInterval(500); + + this->setFocusPolicy(Qt::FocusPolicy::StrongFocus); } void ChannelView::initializeLayout() diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index 6c79d1d29..e03cab0e4 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -89,6 +89,7 @@ Split::Split(QWidget *parent) { this->setMouseTracking(true); this->view_->setPausable(true); + this->view_->setFocusPolicy(Qt::FocusPolicy::NoFocus); this->vbox_->setSpacing(0); this->vbox_->setMargin(1);