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:
authorJacques Lucke <mail@jlucke.com>2019-04-04 18:37:24 +0300
committerJacques Lucke <mail@jlucke.com>2019-04-04 18:38:31 +0300
commitceded86de32db576b4d31ae6b86ad155f67b77bc (patch)
treec51a58fce6a0f7fef7f014bcc033f96631c8a0de /release
parent01d0903f1e93bfa0933adfd1d55fb669948e013f (diff)
Fix T61830: Remove option to add new keymap item in search mode
This was not working well, because the search text was removed after pressing this button. Finding the item that was inserted was not easy. Removing the option seems to be the best solution for now.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/rna_keymap_ui.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py
index 9ce52006d89..2d8e53b9097 100644
--- a/release/scripts/modules/rna_keymap_ui.py
+++ b/release/scripts/modules/rna_keymap_ui.py
@@ -346,11 +346,6 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout):
for kmi in filtered_items:
draw_kmi(display_keymaps, kc, km, kmi, col, 1)
-
- # "Add New" at end of keymap item list
- col = _indented_layout(layout, 1)
- subcol = col.split(factor=0.2).column()
- subcol.operator("preferences.keyitem_add", text="Add New", icon='ADD')
return True