Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-06-09 14:54:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-09 14:55:35 +0300
commitaf980a20a46c9c865418cf60ddaf669e37587bfb (patch)
treec4d470ed5b054f24b4f487ec0122eb29c84fb4d1 /release
parent6c8f2049f69e38edbc6993258f204cd7180355ba (diff)
Fix T37746: Presets in splash failed to redraw
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index fcf63ba5353..0272f752bab 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -113,11 +113,11 @@ class USERPREF_MT_splash(Menu):
row.label("")
row = split.row()
row.label("Interaction:")
- # XXX, no redraws
- # text = bpy.path.display_name(context.window_manager.keyconfigs.active.name)
- # if not text:
- # text = "Blender (default)"
- row.menu("USERPREF_MT_appconfigs", text="Preset")
+
+ text = bpy.path.display_name(context.window_manager.keyconfigs.active.name)
+ if not text:
+ text = "Blender (default)"
+ row.menu("USERPREF_MT_appconfigs", text=text)
# only for addons