Browse Source

qt channels list: hide unnamed column from "Copy" context menu

patch-4
SomberNight 4 years ago
parent
commit
c5a677f4c9
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/util.py

2
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:

Loading…
Cancel
Save