anki-addons
anki-addons copied to clipboard
Doesn't work with "Multiple 'Add' and 'Browser' Windows" add-on
Is there some way to get your add-on to work with the "Multiple 'Add' and 'Browser' Windows" ... that other one seems to prevent yours from actually switching note types (doesn't affect decks though). I don't know enough (read: anything at all) about code to find/fix the issue.
Multiple 'Add' and 'Browser' Windows https://ankiweb.net/shared/info/969743069
- Which add-on? There’s more than one here.
- Probably not. When both add-ons modify the same bit of the original Anki code, it can happen that one undoes the effect of the other. Maybe there is a way to make both work at the same time, but if, as you say, they don’t , then it may be more work then i am willing to invest here.
Ah sorry. It's your "Quick note and deck buttons" add-on.
Well, thanks for that bit of information. Then again, i’m a bit sorry, but i’ve mostly lost interest in all these add-ons. They work well enough for me, and when people want something more, e.g. one specific add-on to work together with some other random add-on by somebody else, well, i may look into it when i have nothing else to do, which may take a long time. Sorry, but you may be better of fixing this yourself. Or using the standard deck/model selector.
Ah ok thanks!
I'm a bit late to the party, but you can fix the incompatibility by editing the source code of the multiple windows add-on and removing everything below the following line:
# The following code prevents a change of note type in one AddCards dialog from affecting others.?
I made the change that you had suggested; while this change allows the "quick button add on to work" it makes the changes in all of the "multiple add windows"
Do you think it is possible to have a change in note type in add window # 1 not to affect the note type in add window # 2?
Or do the hooks for global note type changes make it difficult for this to be possible?