Browse Source

UTXOList: Split stretch_column out of __init__

Makes it easier to subclass UTXOList without code duplication.
hard-fail-on-bad-server-string
JeremyRand 5 years ago
parent
commit
001ee25604
No known key found for this signature in database GPG Key ID: B3F2D165786D6570
  1. 3
      electrum/gui/qt/utxo_list.py

3
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 = {}

Loading…
Cancel
Save