Commit 64546c81 authored by Jan Blackquill's avatar Jan Blackquill 🌈
Browse files

kcms/keyboard: fix migration

TriState::STATE_ON is 0, while TriState::STATE_OFF is 1.
We're currently migrating 0 -> disabled, when it should be
1 -> disabled, * -> enabled.

BUG: 431923
FIXED-IN: 5.21.1
(cherry picked from commit 5550af1f)
parent e86a68a5
......@@ -4,7 +4,7 @@ import sys
for line in sys.stdin:
line = line.rstrip()
print(line, file=sys.stderr)
if line.startswith("KeyboardRepeating=0"):
if line.startswith("KeyboardRepeating=1"):
elif line.startswith("KeyboardRepeating="):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment