Anki/qt/aqt
Kieran Black 46890fbbaa
fix: refresh model list when legacy addon adds notetype (#2825)
* refresh model list when legacy addon adds notetype

When legacy addons add note types, they automatically add the note type to the collection models. When this was detected, the dialog box presenting the list of models was not being updated due to an early return in the code. This commit adds a list refresh along this path of execution to ensure the gui is updated with the newly added model.

* add trailing space to name in CONTRIBUTORS
2023-11-13 10:36:21 +10:00
..
browser Split sidebar review string 2023-11-03 21:25:10 +10:00
data Add an option to stop the timer on answer (#2673) 2023-09-23 14:01:03 +10:00
forms Allow creation of empty filtered decks (#2788) 2023-11-05 12:23:14 +10:00
import_export Change export notes' parent window in card browser (#2761) 2023-10-22 10:23:58 +10:00
operations Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
qt Switch Qt5 shims from opt-out to opt-in 2023-10-14 11:46:46 +10:00
__init__.py Fix syncserver failing to run in macOS packaged build 2023-11-02 20:43:00 +10:00
_macos_helper.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
about.py Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
addcards.py Move IO webview internals to editor (#2784) 2023-10-29 06:50:15 +10:00
addons.py Fix add-ons screen showing 'requires Anki >= 2.1.231000' 2023-11-05 11:16:09 +10:00
changenotetype.py Update Python deps 2023-03-31 14:04:05 +10:00
clayout.py Don't ask when no cards would be generated 2023-09-14 10:44:27 +10:00
colors.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
customstudy.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
dbcheck.py Backup improvements (#1728) 2022-03-21 19:40:42 +10:00
debug_console.py Pass dict for locals and globals to exec() (#2590) 2023-07-25 21:21:06 +10:00
deckbrowser.py Split 'due' translation in deck browser 2023-11-02 21:15:02 +10:00
deckchooser.py Make dialogs non-blocking (#1650) 2022-02-10 09:53:13 +10:00
deckconf.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
deckdescription.py Update Python deps 2023-03-31 14:04:05 +10:00
deckoptions.py Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
editcurrent.py Apply same ctrl+numpad enter fix that the add screen has 2023-10-26 11:57:37 +10:00
editor.py Move IO webview internals to editor (#2784) 2023-10-29 06:50:15 +10:00
emptycards.py Rework & unify webview identification and title setting (#2366) 2023-02-10 14:53:11 +10:00
errors.py Catch altered translation of 'unknown error' 2023-07-24 10:29:37 +10:00
exporting.py Change export notes' parent window in card browser (#2761) 2023-10-22 10:23:58 +10:00
fields.py Skip template checks in Fields screen (#2670) 2023-09-20 16:09:54 +10:00
filtered_deck.py Allow creation of empty filtered decks (#2788) 2023-11-05 12:23:14 +10:00
flags.py Introduce new color palette using Sass maps (#2016) 2022-09-16 14:11:18 +10:00
gui_hooks.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
importing.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
legacy.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
main.py Fix 'creating backup' showing for longer than necessary 2023-11-03 22:18:30 +10:00
mediacheck.py Increase default size of media check screen 2023-07-03 23:58:24 +10:00
mediasrv.py More tweaks to API security 2023-11-09 20:43:23 +10:00
mediasync.py Prevent media syncing from blocking collection tasks (#2740) 2023-10-17 09:47:50 +10:00
modelchooser.py Add callback and non-blocking option to StudyDeck (#1643) 2022-02-07 22:05:59 +10:00
models.py fix: refresh model list when legacy addon adds notetype (#2825) 2023-11-13 10:36:21 +10:00
mpv.py Fix ModuleNotFoundError: No module named 'distutils' (#2723) 2023-10-11 14:12:18 +10:00
notetypechooser.py Make dialogs non-blocking (#1650) 2022-02-10 09:53:13 +10:00
overview.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
package.py Fix startup failure in macOS bundle 2023-10-14 13:49:33 +10:00
preferences.py Implement "stop timer on answer" as a preset option (#2686) 2023-09-27 16:10:14 +10:00
profiles.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
progress.py Refactor progress handling (#2549) 2023-06-19 13:48:32 +10:00
props.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
reviewer.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
schema_change_tracker.py Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
sound.py Don't block collection when playing audio 2023-10-26 11:46:02 +10:00
stats.py Update Python deps 2023-03-31 14:04:05 +10:00
studydeck.py Fix new deck not being selected (#1681) 2022-02-22 21:51:23 +10:00
stylesheets.py Workaround Ubuntu ignoring tooltip palette in dark mode 2023-05-31 15:19:10 +10:00
switch.py Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
sync.py Add confirmation for upload 2023-11-07 11:11:07 +10:00
tagedit.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
taglimit.py Move custom study tag and limit gathering+saving into the backend 2022-03-10 16:23:03 +10:00
taskman.py Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
theme.py Apply Latin1 fix to other platforms 2023-05-31 16:41:12 +10:00
toolbar.py Reduce shaking of bottom bar (#2734) 2023-10-15 10:06:28 +10:00
tts.py Revert backwards incompatible changes to TTSVoice (#2378) 2023-02-20 17:43:18 +10:00
undo.py fix redo menu item showing undo text 2021-08-04 10:28:45 +10:00
update.py Fix Anki closing before 'clock is off' message appears 2023-11-08 12:01:31 +10:00
utils.py Support Qt.TextFormat.MarkdownText in aqt.utils (#2675) 2023-09-23 14:04:25 +10:00
webview.py More tweaks to API security 2023-11-09 20:43:23 +10:00
widgetgallery.py Improve debug console (#2435) 2023-03-15 15:29:05 +10:00
winpaths.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00