[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54191] trunk/blender/release/scripts/ startup/bl_ui/space_userpref_keymap.py: Fix #34031: in the keymap editor, Timer and Text Input types did not show field

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Jan 29 18:30:30 CET 2013


Revision: 54191
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54191
Author:   blendix
Date:     2013-01-29 17:30:30 +0000 (Tue, 29 Jan 2013)
Log Message:
-----------
Fix #34031: in the keymap editor, Timer and Text Input types did not show field
to edit the operator name.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_userpref_keymap.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref_keymap.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref_keymap.py	2013-01-29 17:30:26 UTC (rev 54190)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref_keymap.py	2013-01-29 17:30:30 UTC (rev 54191)
@@ -172,17 +172,17 @@
         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)
 




More information about the Bf-blender-cvs mailing list