Browse Source

qt channels list: sort by short chan id by default

hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
9c8d2be638
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/gui/qt/channels_list.py

1
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())\

Loading…
Cancel
Save