mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
UTXOList: Split stretch_column out of __init__
Makes it easier to subclass UTXOList without code duplication.
This commit is contained in:
parent
7498271927
commit
001ee25604
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue