Merge pull request #413 from ErezVolk/bugfix-qlineedit

BUGFIX: QLineEdit doesn't have .toPlainText()
This commit is contained in:
Damien Elmes 2020-01-05 16:32:39 +10:00 committed by GitHub
commit 8a3a4cb10d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]: