Use last action name when selecting from the same keyword

issue10661
review373261002
This commit is contained in:
Cédric Krier committed 2021-09-02 23:57:43 +02:00
1 parent e03ffb6a31
commit 60fe7b6ab9
1 file changed
+1 -1
+1 -1
View File
@@ -176,7 +176,7 @@ class Action(object):
keyact = {}
for action in actions:
keyact[action['name'].replace('_', '')] = action
keyact[action['name'].split(' / ')[-1]] = action
res = selection(_('Select your action'), keyact, alwaysask=alwaysask)
if res: