Skip to content
Snippets Groups Projects
Commit 26022b0c authored by inso's avatar inso
Browse files

Fix insert transfers

parent 6f21cf1a
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ class HistoryTableModel(QAbstractTableModel):
return self.transactions_service.dividends(self.connection.pubkey)
def add_transfer(self, transfer):
self.beginInsertRows(QModelIndex(), 0, 0)
self.beginInsertRows(QModelIndex(), len(self.transfers_data), len(self.transfers_data))
if transfer.issuer == self.connection.pubkey:
self.transfers_data.append(self.data_sent(transfer))
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment