Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix regression in unit tests
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ToolBox.cpp
diff --git
a/src/ModuleBase/ModuleBase_ToolBox.cpp
b/src/ModuleBase/ModuleBase_ToolBox.cpp
index 592b5a0325847da1ed4abc4cb760e1f11cb7a7c5..57c7332c6f85f9822553f3bb4940c51ed4c74549 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ToolBox.cpp
+++ b/
src/ModuleBase/ModuleBase_ToolBox.cpp
@@
-45,6
+45,7
@@
void ModuleBase_ToolBox::addItem( QWidget* thePage, const QString& theName, cons
myStack->addWidget( thePage );
QToolButton* aButton = new QToolButton( myButtonsFrame );
+ aButton->setFocusPolicy(Qt::StrongFocus);
aButton->setCheckable( true );
aButton->setIcon( theIcon );
aButton->setIconSize( theIcon.size() );