MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / focusTableOnCurrentRow

Method focusTableOnCurrentRow

src/gui/MemoryDialog.cpp:648–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void MemoryDialog::focusTableOnCurrentRow()
649{
650 if (!m_table)
651 return;
652
653 if (m_table->currentRow() < 0 && m_table->rowCount() > 0)
654 m_table->setCurrentCell(0, 0, QItemSelectionModel::NoUpdate);
655 m_table->setFocus(Qt::OtherFocusReason);
656}
657
658void MemoryDialog::populateTable()
659{

Callers 2

onImportMethod · 0.80
onRemoveMethod · 0.80

Calls 1

rowCountMethod · 0.45

Tested by

no test coverage detected