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

Method showOrHideBanTableIfRequired

src/qt/rpcconsole.cpp:1337–1345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1335}
1336
1337void RPCConsole::showOrHideBanTableIfRequired()
1338{
1339 if (!clientModel)
1340 return;
1341
1342 bool visible = clientModel->getBanTableModel()->shouldShow();
1343 ui->banlistWidget->setVisible(visible);
1344 ui->banHeading->setVisible(visible);
1345}
1346
1347void RPCConsole::setTabFocus(enum TabTypes tabType)
1348{

Callers

nothing calls this directly

Calls 2

shouldShowMethod · 0.80
getBanTableModelMethod · 0.80

Tested by

no test coverage detected