Browse Source
Merge pull request #6055 from JeremyRand/utxolist-stretch-refactor
UTXOList: Split stretch_column out of __init__
hard-fail-on-bad-server-string
ghost43
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
electrum/gui/qt/utxo_list.py
|
@ -56,10 +56,11 @@ class UTXOList(MyTreeView): |
|
|
Columns.OUTPOINT: _('Output point'), |
|
|
Columns.OUTPOINT: _('Output point'), |
|
|
} |
|
|
} |
|
|
filter_columns = [Columns.ADDRESS, Columns.LABEL, Columns.OUTPOINT] |
|
|
filter_columns = [Columns.ADDRESS, Columns.LABEL, Columns.OUTPOINT] |
|
|
|
|
|
stretch_column = Columns.LABEL |
|
|
|
|
|
|
|
|
def __init__(self, parent): |
|
|
def __init__(self, parent): |
|
|
super().__init__(parent, self.create_menu, |
|
|
super().__init__(parent, self.create_menu, |
|
|
stretch_column=self.Columns.LABEL, |
|
|
stretch_column=self.stretch_column, |
|
|
editable_columns=[]) |
|
|
editable_columns=[]) |
|
|
self._spend_set = None |
|
|
self._spend_set = None |
|
|
self._utxo_dict = {} |
|
|
self._utxo_dict = {} |
|
|