mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
default to tab if user cancels delimeter selection
This commit is contained in:
parent
557c8e9ce4
commit
79d4d4d5c6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class ImportDialog(QDialog):
|
|||
By default, Anki will detect the character between fields, such as
|
||||
a tab, comma, and so on. If Anki is detecting the character incorrectly,
|
||||
you can enter it here. Use \\t to represent tab."""),
|
||||
self, help="importing")
|
||||
self, help="importing") or "\t"
|
||||
str = str.replace("\\t", "\t")
|
||||
str = str.encode("ascii")
|
||||
self.hideMapping()
|
||||
|
|
Loading…
Reference in a new issue