-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
self in key_press_handler() should be canvas.manager #919
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
Conversation
Looks like it. I presume this fixes it for you? |
My only reservation is that I am fairly sure this is also fixed in another pull request, but I haven't located it yet. |
Yes, my fix works for me. Ah, #851 uses |
My vote is for your method, since "canvas" is what gets passed in, while "Gcf.get_active()" seems like a kludge that happens to work for most situations. |
I agree that this method is preferable (and the correct one). @other devs: In order to merge, can I just press the "Merge pull request" button or should I merge by command line pull & push? |
On 06/04/2012 09:35 PM, Phil Elson wrote:
If the button is green, push it! |
Quick caveat... always make sure that the PR is to the correct branch first. Also, if you had to do testing of the PR on your system, you might as well do the merging there anyway. Then, if the merge is to the maintenance branch, you will then have to manually perform a merge down to the master branch. |
self in key_press_handler() should be canvas.manager
Thanks for fixing this @mspacek, I've merged it onto master. |
Fixes #918