From e992e3a9b2875c2be0c2ae30364d9c7e6a92a9fb Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 20 Apr 2022 13:41:37 +0200 Subject: [PATCH] Qt: follow-up e362d1aac4c326917592bcfe1f5d679f7649366a --- electrum/gui/qt/utxo_list.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/electrum/gui/qt/utxo_list.py b/electrum/gui/qt/utxo_list.py index e62c3070b..5274b5511 100644 --- a/electrum/gui/qt/utxo_list.py +++ b/electrum/gui/qt/utxo_list.py @@ -128,6 +128,10 @@ class UTXOList(MyTreeView): if self.wallet.is_frozen_address(address): utxo_item[self.Columns.ADDRESS].setBackground(ColorScheme.BLUE.as_color(True)) utxo_item[self.Columns.ADDRESS].setToolTip(_('Address is frozen')) + else: + tooltip = ("\n" + SELECTED_TO_SPEND_TOOLTIP) if key in (self._spend_set or set()) else "" + utxo_item[self.Columns.ADDRESS].setBackground(ColorScheme.DEFAULT.as_color(True)) + utxo_item[self.Columns.ADDRESS].setToolTip(key + tooltip) if self.wallet.is_frozen_coin(utxo): utxo_item[self.Columns.OUTPOINT].setBackground(ColorScheme.BLUE.as_color(True)) utxo_item[self.Columns.OUTPOINT].setToolTip(f"{key}\n{_('Coin is frozen')}")