mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
![]() * If deck options are modified, ask before closing This imitates the way the note editor behaves. If a user assumes by error that chanhges are automatically saved, it ensures they won't lose them. Also, this will eventually allows to have the same feature on AnkiDroid. While, currently, we always ask the user whether they want to close the deck options, even when there are no modification, which seems to regularly frustate users (including myself). I'm new to Svelte, please let me know whether there is a better way to obtain the information from Svelte state that I missed. Note that I ensured that only a boolean can be obtained. I didn't cause the whole state to be accessible. May be useful for some add-ons, I guess, but risks breaking too much things. Regarding the deckoptions.py, I tried to imitate addcards.py way to check whether the add card view can be closed. Reusing the same function and variable name when possible. * Update qt/aqt/deckoptions.py (dae) |
||
---|---|---|
.. | ||
aqt | ||
bundle | ||
icons | ||
mac | ||
tests | ||
tools | ||
.isort.cfg | ||
README.md | ||
runanki.py |
Python's Qt GUI is in aqt/