Gui: Improved tooltips for grouped commands

Following previous improvements, this fix allows also Grouped Actions to have the new tooltip.
This commit is contained in:
carlopav
2021-08-29 23:30:58 +02:00
parent 8c361dd3fc
commit 01df25866c

View File

@@ -1062,7 +1062,7 @@ void GroupCommand::setup(Action *pcAction) {
const char *statustip = cmd->getStatusTip();
if (!statustip || '\0' == *statustip)
statustip = tooltip;
pcAction->setToolTip(QCoreApplication::translate(context,tooltip));
recreateTooltip(context, pcAction);
pcAction->setStatusTip(QCoreApplication::translate(context,statustip));
}
}