[fix] unit converter plugin: can't be disabled in settings

This commit is contained in:
Bnyro 2024-05-05 19:41:27 +02:00 committed by Markus Heiser
parent fb32425d78
commit 383d873597

View file

@ -29,6 +29,9 @@ name = "Unit converter plugin"
description = gettext("Convert between units") description = gettext("Convert between units")
default_on = True default_on = True
plugin_id = "unit_converter"
preference_section = "general"
CONVERT_KEYWORDS = ["in", "to", "as"] CONVERT_KEYWORDS = ["in", "to", "as"]
# inspired from https://stackoverflow.com/a/42475086 # inspired from https://stackoverflow.com/a/42475086