1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 18:52:30 +01:00

Fix option serialization.

This commit is contained in:
Kris Maglione
2010-10-13 16:30:34 -04:00
parent 7aa5bb3c64
commit b8a2d4d3f2

View File

@@ -1359,7 +1359,7 @@ const Options = Module("options", {
{
command: this.name,
literalArg: [opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name
: opt.name + "=" + opt.value]
: opt.name + "=" + opt.stringify(opt.value)]
}
for (opt in options)
if (!opt.getter && opt.isDefault && (opt.scope & Option.SCOPE_GLOBAL))