Merge pull request #901 from wallgrenen/replace-broken-link

replace broken help link
This commit is contained in:
Damien Elmes 2021-01-07 09:48:20 +10:00 committed by GitHub
commit fd2e04ff67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -72,6 +72,7 @@ ianki <iankigit@gmail.com>
rye761 <ryebread761@gmail.com> rye761 <ryebread761@gmail.com>
Guillem Palau Salvà <guillempalausalva@gmail.com> Guillem Palau Salvà <guillempalausalva@gmail.com>
Meredith Derecho <meredithderecho@gmail.com> Meredith Derecho <meredithderecho@gmail.com>
Daniel Wallgren <github.com/wallgrenen>
******************** ********************
The text of the 3 clause BSD license follows: The text of the 3 clause BSD license follows:

View file

@ -170,7 +170,7 @@ class AddCards(QDialog):
problem = tr(TR.ADDING_THE_FIRST_FIELD_IS_EMPTY) problem = tr(TR.ADDING_THE_FIRST_FIELD_IS_EMPTY)
problem = gui_hooks.add_cards_will_add_note(problem, note) problem = gui_hooks.add_cards_will_add_note(problem, note)
if problem is not None: if problem is not None:
showWarning(problem, help="AddItems#AddError") showWarning(problem, help="editing?id=adding-cards-and-notes")
return None return None
if note.model()["type"] == MODEL_CLOZE: if note.model()["type"] == MODEL_CLOZE:
if not note.cloze_numbers_in_fields(): if not note.cloze_numbers_in_fields():