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

Fix #102 by switching AddCards model without running hook #105

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

Conversation

glutanimate
Copy link
Contributor

This is a workaround, more than anything, but it does fix #102.

The underlying issue was that the author of the "Multiple Add and Browser Windows" add-on decided to remove several global hooks surrounding note type switching in order to allow setting different note types for different AddCards instances. This had the unfortunate side-effect of stopping the note type buttons from working.

I've tested this change both with and without the other add-on. The buttons work as expected in both cases with no change in functionality.

Not the prettiest solution, but it should fix ospalh#102
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

Successfully merging this pull request may close these issues.

Doesn't work with "Multiple 'Add' and 'Browser' Windows" add-on
1 participant