ensure endReset() is called even if an exception is raised

This commit is contained in:
Damien Elmes 2020-03-20 18:33:35 +10:00
parent 09a76967e7
commit 13f3719650

View File

@ -184,6 +184,7 @@ class DataModel(QAbstractTableModel):
invalid = True
else:
raise
finally:
# print "fetch cards in %dms" % ((time.time() - t)*1000)
self.endReset()