Use last action name when selecting from the same keyword

issue10661
review373261002
(grafted from 32ee4a3b04ffcb3ecdf9f96c21183c4d8d9ecc7c)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-09-02 23:57:43 +02:00
1 parent 151c3491a5
commit d1b964aa33
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: