diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index 67eaa832f..05389899b 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -172,7 +172,7 @@ where cards.factId = facts.id """ id=self.cards[index.row()][0]) self.emit(SIGNAL("dataChanged(QModelIndex,QModelIndex)"), index, self.index(index.row(), 1)) - except IndexError: + except: # called after search changed pass