From 5dd58ba9c75371f45f4b40af6c5b46de933c2d88 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 7 Apr 2021 13:07:15 +0200 Subject: [PATCH] show full label of running action istead of name --- openpype/tools/launcher/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpype/tools/launcher/window.py b/openpype/tools/launcher/window.py index a89e724f1c..c0aeec7d2f 100644 --- a/openpype/tools/launcher/window.py +++ b/openpype/tools/launcher/window.py @@ -11,6 +11,7 @@ from avalon.tools import lib as tools_lib from avalon.tools.widgets import AssetWidget from avalon.vendor import qtawesome from .models import ProjectModel +from .lib import get_action_label from .widgets import ( ProjectBar, ActionBar, @@ -407,7 +408,7 @@ class LauncherWindow(QtWidgets.QDialog): self.discover_actions() def on_action_clicked(self, action): - self.echo("Running action: {}".format(action.name)) + self.echo("Running action: {}".format(get_action_label(action))) self.run_action(action) def on_history_action(self, history_data):