commit 9b3f165212c2f63d3a2e13b6d16b008e350d044a
parent 9700e6112b8e1e91bf089ffbdcd315efd69f5525
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 7 Jul 2020 23:33:57 +0200
qt channels tab: implement filtering items
fixes #6330
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py
@@ -44,6 +44,12 @@ class ChannelsList(MyTreeView):
Columns.CHANNEL_STATUS: _('Status'),
}
+ filter_columns = [
+ Columns.SHORT_CHANID,
+ Columns.NODE_ALIAS,
+ Columns.CHANNEL_STATUS,
+ ]
+
_default_item_bg_brush = None # type: Optional[QBrush]
def __init__(self, parent):