Browse Source
qt channels list: hide unnamed column from "Copy" context menu
patch-4
SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
0 deletions
-
electrum/gui/qt/util.py
|
|
@ -743,6 +743,8 @@ class MyTreeView(QTreeView): |
|
|
|
cc = menu.addMenu(_("Copy")) |
|
|
|
for column in self.Columns: |
|
|
|
column_title = self.original_model().horizontalHeaderItem(column).text() |
|
|
|
if not column_title: |
|
|
|
continue |
|
|
|
item_col = self.item_from_index(idx.sibling(idx.row(), column)) |
|
|
|
clipboard_data = item_col.data(self.ROLE_CLIPBOARD_DATA) |
|
|
|
if clipboard_data is None: |
|
|
|