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.
This commit is contained in:
Campbell Barton
2010-09-14 04:58:25 +00:00
parent 7245177c26
commit 74b2022a82
9 changed files with 85 additions and 33 deletions

View File

@@ -94,7 +94,7 @@ def display_name(name):
name_base = name_base.replace("_", " ")
if name_base.islower():
return name_base.capitalize()
return name_base.lower().title()
else:
return name_base