From 59f8345ba294b00db7ccb0b7fd3cbbdda6c26252 Mon Sep 17 00:00:00 2001 From: Mason Larobina Date: Wed, 25 Nov 2009 19:01:32 +0800 Subject: Forgot to clear the keycmd if no default value being set. --- examples/data/uzbl/plugins/bind.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/data/uzbl/plugins') diff --git a/examples/data/uzbl/plugins/bind.py b/examples/data/uzbl/plugins/bind.py index 5557aeb..509363d 100644 --- a/examples/data/uzbl/plugins/bind.py +++ b/examples/data/uzbl/plugins/bind.py @@ -290,6 +290,9 @@ def set_stack_mode(uzbl, prompt): # Go through uzbl-core to expand potential @-variables uzbl.send('event SET_KEYCMD %s' % set) + else: + uzbl.clear_keycmd() + def clear_stack(uzbl, mode): bind_dict = get_bind_dict(uzbl) -- cgit v1.2.3