Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Entries for Delete Options in ToolSets #6

Closed
jedypod opened this issue Jul 28, 2013 · 1 comment
Closed

Remove Entries for Delete Options in ToolSets #6

jedypod opened this issue Jul 28, 2013 · 1 comment

Comments

@jedypod
Copy link

jedypod commented Jul 28, 2013

For those of us using ToolSets as a ghetto way to access custom gizmos, it is a pain having the "Delete" commands for each toolset item listed in tabtabtab's command list. This often results in accidentally executing the delete command and having to cancel.

I dug into the source a little, and figured out a solution to remove these Delete commands from the list of commands that tabtabtab builds. If you insert this code on line 47 and tabtabtab will skip everything under the ToolSets/Delete/ path:

if "ToolSets/Delete" in subpath:
    # Remove all ToolSets delete commands
    continue
@dbr dbr closed this as completed in 15475e6 Aug 4, 2013
@dbr
Copy link
Owner

dbr commented Aug 4, 2013

Good point, committed this change. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants