diff --git a/src/sakia/gui/navigation/txhistory/table_model.py b/src/sakia/gui/navigation/txhistory/table_model.py index 166b26e05655e04b80c791571782ea0592b1de8d..1001e2ec6a5b4b8a73dc2db5c2e91a24433b1b74 100644 --- a/src/sakia/gui/navigation/txhistory/table_model.py +++ b/src/sakia/gui/navigation/txhistory/table_model.py @@ -171,7 +171,10 @@ class HistoryTableModel(QAbstractTableModel): for issuer in transfer.issuers: identity = self.identities_service.get_identity(issuer) if identity: - senders.append(issuer + " (" + identity.uid + ")") + # todo: add an uid column to store and display the uid of the senders + # otherwise the "pubkey + uid" break the context menu to send money + # senders.append(issuer + " (" + identity.uid + ")") + senders.append(issuer) else: senders.append(issuer) @@ -205,7 +208,10 @@ class HistoryTableModel(QAbstractTableModel): for issuer in transfer.issuers: identity = self.identities_service.get_identity(issuer) if identity: - senders.append(issuer + " (" + identity.uid + ")") + # todo: add an uid column to store and display the uid of the receivers + # otherwise the "pubkey + uid" break the context menu to send money + # senders.append(issuer + " (" + identity.uid + ")") + senders.append(issuer) else: senders.append(issuer) @@ -238,7 +244,10 @@ class HistoryTableModel(QAbstractTableModel): for receiver in transfer.receivers: identity = self.identities_service.get_identity(receiver) if identity: - receivers.append(receiver + " (" + identity.uid + ")") + # todo: add an uid column to store and display the uid of the receivers + # otherwise the "pubkey + uid" break the context menu to send money + # receivers.append(receiver + " (" + identity.uid + ")") + receivers.append(receiver) else: receivers.append(receiver) @@ -268,7 +277,10 @@ class HistoryTableModel(QAbstractTableModel): amount = dividend.amount * 10 ** dividend.base identity = self.identities_service.get_identity(dividend.pubkey) if identity: - receiver = dividend.pubkey + " (" + identity.uid + ")" + # todo: add an uid column to store and display the uid of the receivers + # otherwise the "pubkey + uid" break the context menu to send money + # receiver = dividend.pubkey + " (" + identity.uid + ")" + receiver = dividend.pubkey else: receiver = dividend.pubkey