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 reopening the add cards window #3756

Merged
merged 3 commits into from
Jan 25, 2025
Merged

Conversation

iamllama
Copy link
Contributor

@iamllama iamllama commented Jan 21, 2025

Closes #3702 as an alternative to #3755

With this change, reopening the add cards window behaves the same* as if the window was manually closed and reopened, i.e selecting both the default deck and notetype for adding

*The contents of some filled-in fields can be lost when switching to a notetype with fewer fields

For context on why keeping the same behaviour across opening and reopening is important, please see #3755 (comment)

Happy to close this pr if it turns out to not be needed

@abdnh abdnh merged commit d463f11 into ankitects:main Jan 25, 2025
1 check passed
@abdnh
Copy link
Collaborator

abdnh commented Jan 25, 2025

I think it makes sense to respect the preference here 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants