diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 05:45:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 05:49:59 +0300 |
commit | 6cc5c28d15f45aee5c15d2560d9743d824d99ad3 (patch) | |
tree | c6e551e613a5f1c3c1efebf516529ee981bb4fd1 /release/scripts/startup | |
parent | 3d8cbb534f8277840b51f0ec7003f77ee2391f16 (diff) |
Fix UI extension removal
App-templates & keymap names had their extensions removed twice.
Confusing for filenames containing dots.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index d27f8e303c9..937cec9eb29 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -588,7 +588,7 @@ class TOPBAR_MT_file(Menu): app_template = None if app_template: - layout.label(text=bpy.path.display_name(app_template)) + layout.label(text=bpy.path.display_name(app_template, has_ext=False)) layout.operator("wm.save_homefile") layout.operator( "wm.read_factory_settings", |