mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
qt address list: check internal address corruption when copying address
regressing following c721e880d0
note that place_text_on_clipboard is overridden in AddressList
This commit is contained in:
parent
5549f3adbe
commit
2fec17760d
1 changed files with 5 additions and 1 deletions
|
@ -634,7 +634,11 @@ class MyTreeView(QTreeView):
|
|||
column_title = self.model().horizontalHeaderItem(column).text()
|
||||
item_col = self.model().itemFromIndex(idx.sibling(idx.row(), column))
|
||||
column_data = item_col.text().strip()
|
||||
cc.addAction(column_title, lambda t=column_data: self.parent.app.clipboard().setText(t))
|
||||
cc.addAction(column_title, lambda t=column_data: self.place_text_on_clipboard(t))
|
||||
|
||||
def place_text_on_clipboard(self, text):
|
||||
self.parent.app.clipboard().setText(text)
|
||||
|
||||
|
||||
class ButtonsWidget(QWidget):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue