Merge pull request #19253 from Jonezzzzz/SketcherGroupCommandsFix
Sketcher: Fixed Inconsistency between button tooltips and labeling for shortcuts.
This commit is contained in:
@@ -102,3 +102,4 @@ c5c2ea3498f402c0c89916c46ddb071e22756622 # Assembly: Final application of pre-co
|
||||
d472927bba7b2d8d151c99fb29cf1d8dd099ea7d # Correct PartDesign Helix feature negative angles (#11399)
|
||||
b93c02e07da4990482b9d927506901e6f5d624e1 # Black updated to 24.3.0
|
||||
cbea6b60942f8327e6105b12e8c1d5db4647984c # FEM: Apply pre-commit to FEM files
|
||||
f9d66096878c7d89c273522b9ca57bdb14fee3bc # Rearranged CommandCreateGeo.cpp
|
||||
@@ -1121,6 +1121,8 @@ void GroupCommand::setup(Action *pcAction) {
|
||||
int idx = pcAction->property("defaultAction").toInt();
|
||||
if(idx>=0 && idx<(int)cmds.size() && cmds[idx].first) {
|
||||
auto cmd = cmds[idx].first;
|
||||
QString shortcut = cmd->getShortcut();
|
||||
pcAction->setShortcut(shortcut);
|
||||
pcAction->setText(QCoreApplication::translate(className(), getMenuText()));
|
||||
QIcon icon;
|
||||
if (auto childAction = cmd->getAction())
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user