Fixes #996 can't ctrl+c in search popup

This commit is contained in:
fourtf 2019-09-08 12:29:02 +02:00
parent dd996d1b8a
commit b14154a811
2 changed files with 3 additions and 0 deletions

View file

@ -133,6 +133,8 @@ ChannelView::ChannelView(BaseWidget *parent)
this->clickTimer_ = new QTimer(this); this->clickTimer_ = new QTimer(this);
this->clickTimer_->setSingleShot(true); this->clickTimer_->setSingleShot(true);
this->clickTimer_->setInterval(500); this->clickTimer_->setInterval(500);
this->setFocusPolicy(Qt::FocusPolicy::StrongFocus);
} }
void ChannelView::initializeLayout() void ChannelView::initializeLayout()

View file

@ -89,6 +89,7 @@ Split::Split(QWidget *parent)
{ {
this->setMouseTracking(true); this->setMouseTracking(true);
this->view_->setPausable(true); this->view_->setPausable(true);
this->view_->setFocusPolicy(Qt::FocusPolicy::NoFocus);
this->vbox_->setSpacing(0); this->vbox_->setSpacing(0);
this->vbox_->setMargin(1); this->vbox_->setMargin(1);