From b4facdf650e7a2cc17b3920f89bf00074cbff562 Mon Sep 17 00:00:00 2001 From: Erez Volk Date: Sun, 5 Jan 2020 07:54:45 +0200 Subject: [PATCH] BUGFIX: QLineEdit doesn't have .toPlainText() --- qt/aqt/importing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/importing.py b/qt/aqt/importing.py index 65e649c7f..1696abb74 100644 --- a/qt/aqt/importing.py +++ b/qt/aqt/importing.py @@ -181,7 +181,7 @@ you can enter it here. Use \\t to represent tab.""" self.importer.allowHTML = self.frm.allowHTML.isChecked() self.mw.pm.profile["allowHTML"] = self.importer.allowHTML if self.frm.tagModifiedCheck.isChecked(): - self.importer.tagModified = self.frm.tagModifiedTag.toPlainText() + self.importer.tagModified = self.frm.tagModifiedTag.text() self.mw.pm.profile["tagModified"] = self.importer.tagModified did = self.deck.selectedId() if did != self.importer.model["did"]: