]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#1112 tab key doesn't work on the last field of left panels
authornds <nds@opencascade.com>
Mon, 28 Dec 2015 09:37:44 +0000 (12:37 +0300)
committernds <nds@opencascade.com>
Mon, 28 Dec 2015 09:38:14 +0000 (12:38 +0300)
src/ModuleBase/ModuleBase_WidgetChoice.cpp

index 024b736788cdc5962c2c5ad6559c6b569635a706..d837c4f38b10efcf2ef81d38730bbaa74ec291db 100644 (file)
@@ -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);