1
0

minor fix (lower or equal)

This commit is contained in:
ThomasV
2015-04-19 14:13:15 +02:00
parent 5f30348d62
commit 6015a91c70

View File

@@ -763,7 +763,7 @@ class ElectrumWindow(QMainWindow):
date = format_time(timestamp) date = format_time(timestamp)
account = self.wallet.get_account_name(self.wallet.get_account_from_address(address)) account = self.wallet.get_account_name(self.wallet.get_account_from_address(address))
amount_str = self.format_amount(amount) if amount else "" amount_str = self.format_amount(amount) if amount else ""
paid = amount < self.wallet.get_addr_received(address) paid = amount <= self.wallet.get_addr_received(address)
status = PR_PAID if paid else PR_UNPAID status = PR_PAID if paid else PR_UNPAID
item = QTreeWidgetItem( [ date, account, address, message, amount_str, pr_tooltips[status]]) item = QTreeWidgetItem( [ date, account, address, message, amount_str, pr_tooltips[status]])
item.setFont(2, QFont(MONOSPACE_FONT)) item.setFont(2, QFont(MONOSPACE_FONT))