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

BF: Fixed _selectWindow() ignoring 'win' argument #1514

Merged
merged 1 commit into from Sep 15, 2017
Merged

BF: Fixed _selectWindow() ignoring 'win' argument #1514

merged 1 commit into from Sep 15, 2017

Conversation

@mdcutone
Copy link
Member

@mdcutone mdcutone commented Sep 14, 2017

Correcting an embarrassingly trivial bug in my last commit that was breaking drawing to multiple windows when passing a window other than its parent to draw().

Cause: _selectWindow() was ignoring its 'win' argument preventing stimuli from being drawn windows other than it's parent. This was due to self.win._setCurrent() being called rather than the _setCurrent() method of the 'win' passed to _selectWindow().

Fix: Changed self.win._setCurrent() -> win._setCurrent(), closes issue #1513

@peircej peircej merged commit 1fac0fc into psychopy:master Sep 15, 2017
1 check passed
1 check passed
code-quality/landscape Code quality remained the same
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants