MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / onMenuSelection

Method onMenuSelection

src/qt/bitcoingui.cpp:1305–1311  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1303
1304/** Tells underlying optionsModel to update its current display unit. */
1305void UnitDisplayStatusBarControl::onMenuSelection(QAction* action)
1306{
1307 if (action)
1308 {
1309 optionsModel->setDisplayUnit(action->data());
1310 }
1311}

Callers

nothing calls this directly

Calls 2

setDisplayUnitMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected