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:
authorCampbell Barton <ideasman42@gmail.com>2010-09-14 08:58:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-14 08:58:25 +0400
commit74b2022a821904f94e0bca8cc2c35d0aee9f98ab (patch)
tree06df5e4fa64c79db1afc82b4b819131a362b695a /release/scripts/ui/space_userpref.py
parent7245177c26bc6630ce6dd505b6065a2f2c4b4a71 (diff)
button to remove presets.
note: this is an option to the add preset operator which is a bit odd but easiest since these classes have all the info needed for removal as well.
Diffstat (limited to 'release/scripts/ui/space_userpref.py')
-rw-r--r--release/scripts/ui/space_userpref.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py
index 0b4c33c4438..5cb760790df 100644
--- a/release/scripts/ui/space_userpref.py
+++ b/release/scripts/ui/space_userpref.py
@@ -727,6 +727,7 @@ class USERPREF_PT_input(InputKeyMapPanel):
subrow = sub.row(align=True)
subrow.menu("USERPREF_MT_interaction_presets", text=bpy.types.USERPREF_MT_interaction_presets.bl_label)
subrow.operator("wm.interaction_preset_add", text="", icon='ZOOMIN')
+ subrow.operator("wm.interaction_preset_add", text="", icon='ZOOMOUT').remove_active = True
sub.separator()
sub.label(text="Mouse:")