From 01df25866cd14dec5defb6071a0e0a8f3c76ac93 Mon Sep 17 00:00:00 2001 From: carlopav Date: Sun, 29 Aug 2021 23:30:58 +0200 Subject: [PATCH] Gui: Improved tooltips for grouped commands Following previous improvements, this fix allows also Grouped Actions to have the new tooltip. --- src/Gui/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Command.cpp b/src/Gui/Command.cpp index 9b9c7c2d93..0e83ef01fb 100644 --- a/src/Gui/Command.cpp +++ b/src/Gui/Command.cpp @@ -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)); } }