Browse Source

qt coins tab: sotz by height

master
ThomasV 3 years ago
parent
commit
9f33cecede
  1. 1
      electrum/gui/qt/utxo_list.py

1
electrum/gui/qt/utxo_list.py

@ -77,6 +77,7 @@ class UTXOList(MyTreeView):
def update(self): def update(self):
# not calling maybe_defer_update() as it interferes with coincontrol status bar # not calling maybe_defer_update() as it interferes with coincontrol status bar
utxos = self.wallet.get_utxos() utxos = self.wallet.get_utxos()
utxos.sort(key=lambda x: x.block_height, reverse=True)
self._maybe_reset_coincontrol(utxos) self._maybe_reset_coincontrol(utxos)
self._utxo_dict = {} self._utxo_dict = {}
self.model().clear() self.model().clear()

Loading…
Cancel
Save