X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_Command.cpp;h=1194dc4543785c84b0339555b385dab588506de9;hb=3e2000ab472f5885de9ce1fbe1e2eb27669b5596;hp=4f726ab5d442b62cc99675b5ffe0fc175ee138d4;hpb=63e954c524a2bf8ef9ee3098f6ee2eb14a9966dd;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Command.cpp b/src/XGUI/XGUI_Command.cpp index 4f726ab5d..1194dc454 100644 --- a/src/XGUI/XGUI_Command.cpp +++ b/src/XGUI/XGUI_Command.cpp @@ -49,6 +49,7 @@ QWidget* XGUI_Command::createWidget(QWidget* theParent) QString aToolTip = toolTip(); if (!aKeys.isEmpty()) { aToolTip = QString("%1 (%2)").arg(aToolTip).arg(aKeys.toString()); + aButton->setShortcut(aKeys); } if (!aToolTip.isEmpty()) { aButton->setToolTip(aToolTip);