diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-14 08:58:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-14 08:58:25 +0400 |
commit | 74b2022a821904f94e0bca8cc2c35d0aee9f98ab (patch) | |
tree | 06df5e4fa64c79db1afc82b4b819131a362b695a /release/scripts/ui/space_userpref.py | |
parent | 7245177c26bc6630ce6dd505b6065a2f2c4b4a71 (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.py | 1 |
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:") |