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:
authorWilliam Reynish <billrey@me.com>2019-01-21 19:20:43 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-21 19:26:35 +0300
commit2b0fb0d7bfb84cc5d77cdaa2e89c8fd5d8bd5e59 (patch)
treec08fd97d2257defcb8f61c81126130d1f82a548f /release
parenta6e6ad07563738b641c9df9e8c48ec0cf9342068 (diff)
Fix keymap preferences UI layout issues for modifier keys.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/rna_keymap_ui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py
index cc54a7b01b5..9d6020dc5ea 100644
--- a/release/scripts/modules/rna_keymap_ui.py
+++ b/release/scripts/modules/rna_keymap_ui.py
@@ -190,11 +190,11 @@ def draw_kmi(display_keymaps, kc, km, kmi, layout, level):
subrow = sub.row()
subrow.scale_x = 0.75
- subrow.prop(kmi, "any")
- subrow.prop(kmi, "shift")
- subrow.prop(kmi, "ctrl")
- subrow.prop(kmi, "alt")
- subrow.prop(kmi, "oskey", text="Cmd")
+ subrow.prop(kmi, "any", toggle=True)
+ subrow.prop(kmi, "shift", toggle=True)
+ subrow.prop(kmi, "ctrl", toggle=True)
+ subrow.prop(kmi, "alt", toggle=True)
+ subrow.prop(kmi, "oskey", text="Cmd", toggle=True)
subrow.prop(kmi, "key_modifier", text="", event=True)
# Operator properties