Fix keymap versioning mistake in 3010f1233b

The file version was bumped to (4, 0, 4), so the new version check
should be done against (4, 0, 3).
This commit is contained in:
Germano Cavalcante
2023-06-07 09:22:34 -03:00
parent 65fc10bd33
commit 8dd1a6d91b

View File

@@ -80,7 +80,7 @@ def keyconfig_update(keyconfig_data, keyconfig_version):
km_items.append(('ROTATE_NORMALS', {"type": 'N', "value": 'PRESS'}, None))
break
if keyconfig_version <= (3, 6, 3):
if keyconfig_version <= (4, 0, 3):
if not has_copy:
keyconfig_data = copy.deepcopy(keyconfig_data)
has_copy = True