mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
keytests: Wrong check for empty key in associative array
This commit is contained in:
parent
1f6104fe71
commit
b5229cc5a2
@ -503,7 +503,7 @@ def PrepareShortcuts():
|
||||
if m:
|
||||
bindfound = True
|
||||
val = m.group(1)
|
||||
if not bindings[val] is None:
|
||||
if val in bindings:
|
||||
if bindings[val] != "":
|
||||
tmp.write("\\bind \"" + val + "\" \"" + bindings[val] + "\"\n")
|
||||
bindings[val] = ""
|
||||
|
Loading…
Reference in New Issue
Block a user