mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
use layoutChanged() instead of dataChanged()
This commit is contained in:
parent
85a6f4197d
commit
68b8b8a5dc
1 changed files with 1 additions and 4 deletions
|
@ -185,10 +185,7 @@ interval, factor, noCount, priority, (select tags from facts where
|
|||
facts.id = cards.factId), (select created from facts where
|
||||
facts.id = cards.factId) from cards where id = :id""",
|
||||
id=self.cards[index.row()][0])
|
||||
if ankiqt.ui.utils.pyQtBroken:
|
||||
raise
|
||||
self.emit(SIGNAL("dataChanged(QModelIndex,QModelIndex)"),
|
||||
index, self.index(index.row(), 1))
|
||||
self.emit(SIGNAL("layoutChanged()"))
|
||||
except:
|
||||
# called after search changed
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue