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

exception when trying to remove last button #1

Open
pmaanen opened this issue Mar 30, 2016 · 0 comments
Open

exception when trying to remove last button #1

pmaanen opened this issue Mar 30, 2016 · 0 comments
Assignees
Labels

Comments

@pmaanen
Copy link
Owner

pmaanen commented Mar 30, 2016

When trying to remove the last button, the following exception is thrown:
Exception in Tkinter callback
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in call
return self.func(*args)
File "soundboard.py", line 20, in onRightClick
self.parent.master.myButtons.remove(self)
ValueError: list.remove(x): x not in list

@pmaanen pmaanen self-assigned this Mar 30, 2016
@pmaanen pmaanen added the bug label Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant