[Bf-blender-cvs] [ceded86de32] master: Fix T61830: Remove option to add new keymap item in search mode
Jacques Lucke
noreply at git.blender.org
Thu Apr 4 17:38:37 CEST 2019
Commit: ceded86de32db576b4d31ae6b86ad155f67b77bc
Author: Jacques Lucke
Date: Thu Apr 4 17:37:24 2019 +0200
Branches: master
https://developer.blender.org/rBceded86de32db576b4d31ae6b86ad155f67b77bc
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.
===================================================================
M release/scripts/modules/rna_keymap_ui.py
===================================================================
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
More information about the Bf-blender-cvs
mailing list