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
Crash on abort of any non-sketch operation.
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Command.cpp
diff --git
a/src/XGUI/XGUI_Command.cpp
b/src/XGUI/XGUI_Command.cpp
index 4f726ab5d442b62cc99675b5ffe0fc175ee138d4..1194dc4543785c84b0339555b385dab588506de9 100644
(file)
--- 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);