mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05:00
fix double pasting in fact editor
This commit is contained in:
parent
b02b2ebff7
commit
043c402a45
1 changed files with 1 additions and 0 deletions
|
|
@ -631,6 +631,7 @@ class FactEdit(QTextEdit):
|
|||
audio = ("wav", "mp3", "ogg", "flac")
|
||||
if source.hasHtml() and "qrichtext" in unicode(source.html()):
|
||||
self.insertHtml(source.html())
|
||||
return
|
||||
if source.hasText():
|
||||
txt = unicode(source.text())
|
||||
l = txt.lower()
|
||||
|
|
|
|||
Loading…
Reference in a new issue