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

Allow activated instance to be programatically opened #2701

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IanSimpson
Copy link

Summary

Fix for bug #2689

Currently the chosen:open trigger piggybacks off the container_mousedown function. There was a check in here to prevent trying to open an instance two times if there were two clicks (by checking if the instance is already active), however this created this issue.

This check was changed to check if the instance was showing instead, which seems to work.

Previously opening was blocked where an instance was active. Changed this to instead check if the instance is showing. Seems to achieve same goal, but doesn't block programatic opening.
@koenpunt
Copy link
Collaborator

Thanks! Looks fine to me. @pfiller or @stof got anything to say about this?

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

Successfully merging this pull request may close these issues.

None yet

2 participants