about summary refs log tree commit diff stats
path: root/examples/plugin_linemode.py
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-02 01:01:22 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-02 01:01:22 +0200
commitb77b4c416821c6d239b5404fc8d6a7fca9d70380 (patch)
tree7e85805567c13c043690ba6dbcced07b260b99da /examples/plugin_linemode.py
parent11087fd48f4fcbec9112a25d77eec0a5b2211d9f (diff)
downloadranger-b77b4c416821c6d239b5404fc8d6a7fca9d70380.tar.gz
Hotfix for an off-by-one in rifle
After #1341 the action IDs displayed by the UI were inconsistent with
the actual numbers used by rifle.  It was caused by the `ask` action
being skipped entirely (including incrementing the ID) but only in the
UI.

This is a hotfix that makes the hidden `ask` action to still take up a
number (usually (always?) 0) and thus keeping the numbering
consistent.  Bad side effect: sometimes the counting starts with 1
instead of 0 but for a time being let's choose a small inconsistency
over a BIG one.
Diffstat (limited to 'examples/plugin_linemode.py')
0 files changed, 0 insertions, 0 deletions