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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-01-29 21:30:30 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-01-29 21:30:30 +0400
commitdf53f46065b9c2750cc8e7e58bb7c37571f5e8fe (patch)
tree4a88abd37921a57dab7b50de9d1c5cdae2ec390f /release/scripts/startup/bl_ui/space_userpref_keymap.py
parent3eb800169fbaa07cb58a2905b152afe3f72d362a (diff)
Fix #34031: in the keymap editor, Timer and Text Input types did not show field
to edit the operator name.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref_keymap.py')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref_keymap.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref_keymap.py b/release/scripts/startup/bl_ui/space_userpref_keymap.py
index 81d67aa662c..82299bc951c 100644
--- a/release/scripts/startup/bl_ui/space_userpref_keymap.py
+++ b/release/scripts/startup/bl_ui/space_userpref_keymap.py
@@ -172,17 +172,17 @@ class InputKeyMapPanel:
if kmi.show_expanded:
box = col.box()
- if map_type not in {'TEXTINPUT', 'TIMER'}:
- split = box.split(percentage=0.4)
- sub = split.row()
+ split = box.split(percentage=0.4)
+ sub = split.row()
- if km.is_modal:
- sub.prop(kmi, "propvalue", text="")
- else:
- # One day...
- #~ sub.prop_search(kmi, "idname", bpy.context.window_manager, "operators_all", text="")
- sub.prop(kmi, "idname", text="")
+ if km.is_modal:
+ sub.prop(kmi, "propvalue", text="")
+ else:
+ # One day...
+ #~ sub.prop_search(kmi, "idname", bpy.context.window_manager, "operators_all", text="")
+ sub.prop(kmi, "idname", text="")
+ if map_type not in {'TEXTINPUT', 'TIMER'}:
sub = split.column()
subrow = sub.row(align=True)