Browse Source
qt channels list: sort by short chan id by default
hard-fail-on-bad-server-string
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
0 deletions
-
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())\ |
|
|
|