Anki/qt/aqt
Damien Elmes 1ece868d02 shift keep-current-selection logic into sidebar's refresh()
By calling refresh() manually after performing an op, we were refreshing
twice, and the selection was being lost when changes were made outside
of the sidebar.

Also drop the after_hooks arg to perform_op(), since nothing is using
it now.
2021-04-06 11:18:13 +10:00
..
data Remove bootstrap-icons from css folder 2021-03-28 16:14:52 +02:00
forms Add shortcut and tooltip to switch 2021-03-31 18:53:36 +02:00
operations shift keep-current-selection logic into sidebar's refresh() 2021-04-06 11:18:13 +10:00
__init__.py update TR references that crossed multiple lines 2021-03-26 14:38:15 +10:00
about.py update TR references that crossed multiple lines 2021-03-26 14:38:15 +10:00
addcards.py move operations into submodule 2021-04-03 16:26:10 +10:00
addons.py add types to some more Fluent variables 2021-03-26 16:52:54 +10:00
browser.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
BUILD.bazel move markdown dep into pylib 2021-03-24 22:19:14 +10:00
clayout.py declare variables with some common names as int instead of a union 2021-03-26 16:33:53 +10:00
colors.py move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
customstudy.py update TR references that crossed multiple lines 2021-03-26 14:38:15 +10:00
dbcheck.py nest progress messages and remove Python wrapper class 2021-02-08 16:40:27 +10:00
deckbrowser.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
deckchooser.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
deckconf.py update TR references that contain arguments 2021-03-26 14:21:04 +10:00
editcurrent.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
editor.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
emptycards.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
errors.py simplify errors 2021-04-03 16:06:46 +10:00
exporting.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
fields.py add Dict suffix to Dict aliases in models.py 2021-03-27 21:46:49 +10:00
filtered_deck.py move operations into submodule 2021-04-03 16:26:10 +10:00
find_and_replace.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
gui_hooks.py fix qt/ pylints 2021-01-07 16:21:50 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
importing.py update TR references that contain arguments 2021-03-26 14:21:04 +10:00
legacy.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
main.py shift keep-current-selection logic into sidebar's refresh() 2021-04-06 11:18:13 +10:00
mediacheck.py update TR references that contain arguments 2021-03-26 14:21:04 +10:00
mediasrv.py allow js to request specific i18n modules 2021-03-26 21:43:36 +10:00
mediasync.py update no-arg tr references in qt/ 2021-03-26 13:48:26 +10:00
modelchooser.py switch NoteType to Notetype 2021-03-27 22:03:19 +10:00
models.py switch NoteType to Notetype 2021-03-27 22:03:19 +10:00
mpv.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
notetypechooser.py switch NoteType to Notetype 2021-03-27 22:03:19 +10:00
overview.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
pinnedmodules.py fix rsbackend compat issues 2021-02-08 09:51:51 +10:00
platform.py turn top bar dark when night mode enabled on macOS 2021-02-04 19:19:56 +10:00
preferences.py enable type checking of aqt/forms, and fix the new typing issues 2021-03-26 16:06:02 +10:00
previewer.py squash merge browser refactor 2021-03-29 16:14:54 +10:00
profiles.py update TR references that crossed multiple lines 2021-03-26 14:38:15 +10:00
progress.py update no-arg tr references in qt/ 2021-03-26 13:48:26 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
qt.py more typing updates 2021-02-02 23:31:55 +10:00
reviewer.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
schema_change_tracker.py add a bunch of return types 2021-02-01 23:53:23 +10:00
sidebar.py shift keep-current-selection logic into sidebar's refresh() 2021-04-06 11:18:13 +10:00
sound.py fix 'lame missing' message not being shown 2021-03-29 19:52:30 +10:00
stats.py enable type checking of aqt/forms, and fix the new typing issues 2021-03-26 16:06:02 +10:00
studydeck.py move operations into submodule 2021-04-03 16:26:10 +10:00
switch.py Add shortcut and tooltip to switch 2021-03-31 18:53:36 +02:00
sync.py simplify errors 2021-04-03 16:06:46 +10:00
table.py more perform_op() tweaks 2021-04-06 10:14:11 +10:00
tagedit.py fix a bunch of qt typing issues uncovered by the following commit 2021-03-19 19:45:21 +10:00
taglimit.py fix a bunch of qt typing issues uncovered by the following commit 2021-03-19 19:45:21 +10:00
taskman.py clear_unused_tags and browser redraw improvements 2021-03-19 19:45:21 +10:00
theme.py fix a bunch of qt typing issues uncovered by the following commit 2021-03-19 19:45:21 +10:00
toolbar.py update TR references that contain arguments 2021-03-26 14:21:04 +10:00
tts.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
update.py update TR references that contain arguments 2021-03-26 14:21:04 +10:00
utils.py Fix ResourceWarning in openFolder() on Windows 2021-03-29 09:09:20 +03:00
webview.py ensure page is shown when setHtml() called 2021-04-03 16:59:23 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
winpaths.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00