mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
remove obsolete cloze undo code
This commit is contained in:
parent
c17cec93aa
commit
0304b9c4f4
1 changed files with 0 additions and 9 deletions
|
@ -739,15 +739,6 @@ class FactEditor(object):
|
|||
unicode(dst.toHtml()))
|
||||
self.saveFields()
|
||||
|
||||
def onClozeUndo(self):
|
||||
pair = self._getFieldPair()
|
||||
if not pair:
|
||||
return
|
||||
(src, dst) = pair
|
||||
src.setHtml(dst.toHtml())
|
||||
dst.setHtml("")
|
||||
self.saveFields()
|
||||
|
||||
def onHtmlEdit(self):
|
||||
def helpRequested():
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
|
|
Loading…
Reference in a new issue