context menu action: copy transaction id and vout index
| 233 | |
| 234 | // context menu action: copy transaction id and vout index |
| 235 | void CoinControlDialog::copyTransactionOutpoint() |
| 236 | { |
| 237 | const QString address = contextMenuItem->data(COLUMN_ADDRESS, TxHashRole).toString(); |
| 238 | const QString vout = contextMenuItem->data(COLUMN_ADDRESS, VOutRole).toString(); |
| 239 | const QString outpoint = QString("%1:%2").arg(address).arg(vout); |
| 240 | |
| 241 | GUIUtil::setClipboard(outpoint); |
| 242 | } |
| 243 | |
| 244 | // context menu action: lock coin |
| 245 | void CoinControlDialog::lockCoin() |
nothing calls this directly
no test coverage detected