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

Method onMenuSelection

src/qt/bitcoingui.cpp:1545–1551  ·  view source on GitHub ↗

Tells underlying optionsModel to update its current display unit. */

Source from the content-addressed store, hash-verified

1543
1544/** Tells underlying optionsModel to update its current display unit. */
1545void UnitDisplayStatusBarControl::onMenuSelection(QAction* action)
1546{
1547 if (action)
1548 {
1549 optionsModel->setDisplayUnit(action->data());
1550 }
1551}

Callers

nothing calls this directly

Calls 2

setDisplayUnitMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected