tqt channels list: sort by short chan id by default - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9c8d2be6389e8265d08e4c58fe5cc20b3d630911 DIR parent 95979ba58d93ae83ec519f7f8f8468105e3f3e9e HTML 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: M electrum/gui/qt/channels_list.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py t@@ -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())\