mirror of https://git.meli.delivery/meli/meli
Set lowest priority to shortcut command UIEvents
Commit (a37d5fc1
conf/shortcuts: implement
a key to command mapping) introduced shortcuts that expand to user
defined commands. To allow already existing shortcuts to take
precedence, the check for the user-defined shortcuts should be the last
one in the evaluation order.
Example problem scenario:
- Press new_mail shortcut (e.g. `m`)
- Code in listing.rs searches if it matches any of the commands, and
regardless if it matches or not, stops the evaluation and returns.
- New mail composer never shows up.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/348/head
parent
5afc078587
commit
1eca34b398
Loading…
Reference in New Issue