mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
last completion change broke completion - fix
This commit is contained in:
parent
ed948ee810
commit
032ab3fb49
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class TagCompleter(QCompleter):
|
|||
return QStringList(self.tags[self.cursor])
|
||||
|
||||
def pathFromIndex(self, idx):
|
||||
if not self.cursor:
|
||||
if self.cursor is None:
|
||||
return self.edit.text()
|
||||
ret = QCompleter.pathFromIndex(self, idx)
|
||||
self.tags[self.cursor] = unicode(ret)
|
||||
|
|
|
|||
Loading…
Reference in a new issue