X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_Command.cpp;h=1194dc4543785c84b0339555b385dab588506de9;hb=b5ed624c7308fceecfb3237d1e099729a1cd3c76;hp=4f726ab5d442b62cc99675b5ffe0fc175ee138d4;hpb=52558a1594f889f73337ed79f402a236e0f9b482;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);