pdfview: fix: bug which overrides shortcut config

* wrong variable name
This commit is contained in:
qwjyh 2024-06-25 21:25:24 +09:00
parent 7b0e53318d
commit fef6bc9836

View file

@ -70,4 +70,4 @@ shortcut_config["General"]["nextPage"] = "Space, N"
shortcut_config["General"]["previousPage"] = "Backspace, P"
with open(QPDFVIEW_CONFIG_SHORTCUTS, "w") as file:
config.write(file, space_around_delimiters=False)
shortcut_config.write(file, space_around_delimiters=False)