Show all leave-mode bindings in statusbar in passthrough mode
Fixes #4921
This commit is contained in:
parent
81a5ada67f
commit
898544b2c4
|
|
@ -15,6 +15,15 @@ breaking changes (such as renamed commands) can happen in minor releases.
|
|||
// `Fixed` for any bug fixes.
|
||||
// `Security` to invite users to upgrade in case of vulnerabilities.
|
||||
|
||||
v1.8.0 (unreleased)
|
||||
-------------------
|
||||
|
||||
Changed
|
||||
~~~~~~~
|
||||
|
||||
- The statusbar text for passthrough mode now shows all configured bindings to
|
||||
leave the mode, not only one.
|
||||
|
||||
v1.7.0 (2019-07-18)
|
||||
-------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ class StatusBar(QWidget):
|
|||
all_bindings = key_instance.get_reverse_bindings_for('passthrough')
|
||||
bindings = all_bindings.get('leave-mode')
|
||||
if bindings:
|
||||
suffix = ' ({} to leave)'.format(bindings[0])
|
||||
suffix = ' ({} to leave)'.format(' or '.join(bindings))
|
||||
else:
|
||||
suffix = ''
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue