mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
don't call parseTags twice
This commit is contained in:
parent
b3e0b302ff
commit
bbe933890f
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class ExportDialog(QDialog):
|
||||||
|
|
||||||
def accept(self):
|
def accept(self):
|
||||||
if isinstance(self.exporter, PackagedAnkiExporter):
|
if isinstance(self.exporter, PackagedAnkiExporter):
|
||||||
self.parent.onShare(parseTags(unicode(self.tags.text())))
|
self.parent.onShare(unicode(self.tags.text()))
|
||||||
return QDialog.accept(self)
|
return QDialog.accept(self)
|
||||||
file = ui.utils.getSaveFile(self, _("Choose file to export to"), "export",
|
file = ui.utils.getSaveFile(self, _("Choose file to export to"), "export",
|
||||||
self.exporter.key, self.exporter.ext)
|
self.exporter.key, self.exporter.ext)
|
||||||
|
|
Loading…
Reference in a new issue