mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
add help link
This commit is contained in:
parent
828f9fa5aa
commit
65d6194760
1 changed files with 5 additions and 0 deletions
|
@ -628,6 +628,11 @@ class FactEditor(object):
|
|||
ui.utils.showInfo(_("Next field must be blank."),
|
||||
parent=self.parent)
|
||||
return
|
||||
# check if there's anything to change
|
||||
if not re.search("\(.+?\)", unicode(src.toPlainText())):
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
"ClozeDeletion"))
|
||||
return
|
||||
# create
|
||||
s = unicode(src.toHtml())
|
||||
def repl(match):
|
||||
|
|
Loading…
Reference in a new issue