Damien Elmes
e468daa060
undoing of notetype templates
2021-04-30 17:30:48 +10:00
RumovZ
8e0298120d
Add separate no_arg_trigger decorator
2021-04-26 08:46:08 +02:00
Damien Elmes
532840bbfc
Merge pull request #1154 from RumovZ/fix-skip-dec
...
Fix skip_if_selection_is_empty() for triggers
2021-04-26 09:21:42 +10:00
RumovZ
7ac84a38d6
Remove some unnecessary lambdas
2021-04-25 19:51:57 +02:00
RumovZ
4b91c2b9f1
Fix skip_if_selection_is_empty() for triggers
...
It seems to be enough if one decorator calls pyqtSlot(), but to avoid
problems in the future, let's have all decorators do that.
2021-04-25 19:50:56 +02:00
Henrik Giesel
a21a4d330b
Initialize editor toolbar via function, not web component
2021-04-25 18:32:01 +02:00
Damien Elmes
68a4f4bade
Merge pull request #1151 from RumovZ/no-sel-dec
...
Fix some problems with browser actions while selection is empty
2021-04-25 20:48:40 +10:00
Damien Elmes
f3b344a571
fix error when user cancels out of set due date/reposition
2021-04-25 19:33:25 +10:00
RumovZ
f898f5507c
Skip some browser methods if selection is empty
...
This was handled inconsistently before:
* Select Notes would throw a search error.
* Set Due Date would throw an exception.
* Dialogs with no effect would open.
* No-ops would be pushed to the undo queue.
2021-04-25 08:47:15 +02:00
Henrik Giesel
01b53a6be8
Make update algorithm in editor-toolbar/index.ts recursive
2021-04-23 20:50:09 +02:00
Henrik Giesel
9e952e428e
Use rawButton in browser.py
2021-04-23 17:34:42 +02:00
Damien Elmes
04f0adb847
fix Find Dupes activation
2021-04-20 21:13:21 +10:00
RumovZ
eb9fbb9c0f
Add sidebar filter "first review today"
2021-04-18 13:27:10 +02:00
Henrik Giesel
ff8cfd1c3e
Add type to add_preview_shortcut
2021-04-15 15:50:29 +02:00
Henrik Giesel
1a04ca32fe
Add Latex formatting options to menu
...
* Format shortcuts in monospace font and increase padding a little bit
2021-04-15 15:20:37 +02:00
Henrik Giesel
277d0af336
Add Preview shortcut for browser
2021-04-15 13:09:51 +02:00
Henrik Giesel
f5687f5aec
Add support for Preview button in Browser
2021-04-15 13:09:50 +02:00
RumovZ
f35110a0eb
Fix ChangeModel combos being cleared after setup()
2021-04-14 23:01:40 +02:00
Damien Elmes
2629240272
Merge pull request #1127 from Arthur-Milchior/factorize_current_search
...
NF: factorize browser.current_search
2021-04-14 19:16:59 +10:00
Arthur Milchior
ad9adee26a
NF: factorize browser.current_search
...
I was looking at search code and find out that's already slightly more clear/short even if NF
2021-04-14 10:55:41 +02:00
Damien Elmes
2a43d42323
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
ec6a2f7e2a
Merge pull request #1124 from hgiesel/dropjquerypy2
...
Remove jQuery from remaining qt/aqt files
2021-04-14 12:43:11 +10:00
Henrik Giesel
d2a5d9e246
Satisfy formatter
2021-04-13 20:29:59 +02:00
Henrik Giesel
10c7d4bf34
Remove jquery from browser.py
2021-04-13 19:54:45 +02:00
RumovZ
f62cfc15c2
Move previewer.py into browser folder
2021-04-13 11:38:35 +02:00
RumovZ
38621d0fac
Declare all legacy pathnames in browser init
2021-04-13 11:30:32 +02:00
RumovZ
e37dc6c68c
Move find_and_replace.py into browser/dialogs
2021-04-13 11:21:36 +02:00
RumovZ
12d3084e46
Refactor sidebar.py into browser folder
2021-04-13 11:05:49 +02:00
RumovZ
a1e8746efd
Refactor browser and table into folders
2021-04-12 09:50:44 +02:00