From 4d6bb9de0e54f09a9bbacc94a058cb7cd437d535 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 28 Dec 2015 12:37:44 +0300 Subject: [PATCH] #1112 tab key doesn't work on the last field of left panels --- src/ModuleBase/ModuleBase_WidgetChoice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ModuleBase/ModuleBase_WidgetChoice.cpp b/src/ModuleBase/ModuleBase_WidgetChoice.cpp index 024b73678..d837c4f38 100644 --- a/src/ModuleBase/ModuleBase_WidgetChoice.cpp +++ b/src/ModuleBase/ModuleBase_WidgetChoice.cpp @@ -56,6 +56,7 @@ ModuleBase_WidgetChoice::ModuleBase_WidgetChoice(QWidget* theParent, int aId = 0; foreach(QString aBtnTxt, aList) { QToolButton* aBtn = new QToolButton(aGroupBox); + aBtn->setFocusPolicy(Qt::StrongFocus); aBtn->setCheckable(true); aBtn->setToolTip(aBtnTxt); -- 2.39.2