Clear old keybindings when rereading config.
This commit is contained in:
parent
c3816b2820
commit
8ac215fa52
@ -324,6 +324,8 @@ class BaseKeyParser(QObject):
|
||||
sectname = self._confsectname
|
||||
else:
|
||||
self._confsectname = sectname
|
||||
self.bindings = {}
|
||||
self.special_bindings = {}
|
||||
sect = config.section(sectname)
|
||||
if not sect.items():
|
||||
logging.warn("No keybindings defined!")
|
||||
|
Loading…
Reference in New Issue
Block a user