MCPcopy Create free account
hub / github.com/ElementsProject/elements / copyLabel

Method copyLabel

src/qt/coincontroldialog.cpp:217–223  ·  view source on GitHub ↗

context menu action: copy label

Source from the content-addressed store, hash-verified

215
216// context menu action: copy label
217void CoinControlDialog::copyLabel()
218{
219 if (ui->radioTreeMode->isChecked() && contextMenuItem->text(COLUMN_LABEL).length() == 0 && contextMenuItem->parent())
220 GUIUtil::setClipboard(contextMenuItem->parent()->text(COLUMN_LABEL));
221 else
222 GUIUtil::setClipboard(contextMenuItem->text(COLUMN_LABEL));
223}
224
225// context menu action: copy address
226void CoinControlDialog::copyAddress()

Callers

nothing calls this directly

Calls 1

setClipboardFunction · 0.85

Tested by

no test coverage detected