fix bug with <current>

This commit is contained in:
Damien Elmes 2008-11-30 18:12:48 +09:00
parent 1dca4f73be
commit 8184e2d830

View file

@ -227,7 +227,7 @@ class EditDeck(QMainWindow):
def findCardInDeckModel(self, model, card):
for i, thisCard in enumerate(model.cards):
if thisCard.id == card.id:
if thisCard[0] == card.id:
return i
return -1