electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 9c8d2be6389e8265d08e4c58fe5cc20b3d630911
parent 95979ba58d93ae83ec519f7f8f8468105e3f3e9e
Author: SomberNight <somber.night@protonmail.com>
Date:   Thu, 26 Mar 2020 02:54:50 +0100

qt channels list: sort by short chan id by default

Diffstat:
Melectrum/gui/qt/channels_list.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py @@ -192,6 +192,7 @@ class ChannelsList(MyTreeView): items[self.Columns.LOCAL_BALANCE].setFont(QFont(MONOSPACE_FONT)) items[self.Columns.REMOTE_BALANCE].setFont(QFont(MONOSPACE_FONT)) self.model().insertRow(0, items) + self.sortByColumn(self.Columns.SHORT_CHANID, Qt.DescendingOrder) def update_can_send(self, lnworker): msg = _('Can send') + ' ' + self.parent.format_amount(lnworker.can_send())\