From 001ee25604c37c41037b220dae2b98056f329032 Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Sun, 29 Mar 2020 05:53:31 +0000 Subject: [PATCH] UTXOList: Split stretch_column out of __init__ Makes it easier to subclass UTXOList without code duplication. --- electrum/gui/qt/utxo_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qt/utxo_list.py b/electrum/gui/qt/utxo_list.py index 257abf571..db7222645 100644 --- a/electrum/gui/qt/utxo_list.py +++ b/electrum/gui/qt/utxo_list.py @@ -56,10 +56,11 @@ class UTXOList(MyTreeView): Columns.OUTPOINT: _('Output point'), } filter_columns = [Columns.ADDRESS, Columns.LABEL, Columns.OUTPOINT] + stretch_column = Columns.LABEL def __init__(self, parent): super().__init__(parent, self.create_menu, - stretch_column=self.Columns.LABEL, + stretch_column=self.stretch_column, editable_columns=[]) self._spend_set = None self._utxo_dict = {}