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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user