From cf061b7d3050bd4ab8179e0d438a8d15ec67beef Mon Sep 17 00:00:00 2001 From: Tyler Dunn Date: Wed, 16 Mar 2022 21:51:47 -0700 Subject: [PATCH] Allow buttons to be focusable This improves accessibility. PR #16648. --- src/gui/properties/proptabbar.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/properties/proptabbar.cpp b/src/gui/properties/proptabbar.cpp index de7079c96..9130c6619 100644 --- a/src/gui/properties/proptabbar.cpp +++ b/src/gui/properties/proptabbar.cpp @@ -102,9 +102,6 @@ PropTabBar::PropTabBar(QWidget *parent) // SIGNAL/SLOT connect(m_btnGroup, &QButtonGroup::idClicked , this, &PropTabBar::setCurrentIndex); - // Disable buttons focus - for (QAbstractButton *btn : asConst(m_btnGroup->buttons())) - btn->setFocusPolicy(Qt::NoFocus); } int PropTabBar::currentIndex() const