Fix UI extension removal
App-templates & keymap names had their extensions removed twice. Confusing for filenames containing dots.
This commit is contained in:
@@ -369,7 +369,7 @@ def draw_keymaps(context, layout):
|
||||
spref = context.space_data
|
||||
|
||||
# row.prop_search(wm.keyconfigs, "active", wm, "keyconfigs", text="Key Config")
|
||||
text = bpy.path.display_name(kc_active.name)
|
||||
text = bpy.path.display_name(kc_active.name, has_ext=False)
|
||||
if not text:
|
||||
text = "Blender (default)"
|
||||
|
||||
|
Reference in New Issue
Block a user