Workaround Qt bug which broke the focus chain

Focusing a tab widget would focus an hidden tab bar, which makes
the propagation stop

Fixes #180
This commit is contained in:
Sergio Martins
2021-04-30 15:59:27 +01:00
parent affb48f44d
commit 8ab8e0524b
3 changed files with 26 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ protected:
void mousePressEvent(QMouseEvent *) override;
void mouseMoveEvent(QMouseEvent *e) override;
void mouseDoubleClickEvent(QMouseEvent *e) override;
bool event(QEvent *) override;
private:
TabWidget *const m_tabWidget;
};