MCPcopy Create free account
hub / github.com/Vector35/debugger / editValue

Method editValue

ui/registerswidget.cpp:802–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800
801
802void DebugRegistersWidget::editValue()
803{
804 QModelIndexList sel = selectionModel()->selectedIndexes();
805 if (sel.empty())
806 return;
807
808 auto cell = sel[0];
809 if (cell.column() != DebugRegistersListModel::ValueColumn)
810 cell = cell.siblingAtColumn(DebugRegistersListModel::ValueColumn);
811
812 if (!cell.isValid())
813 return;
814
815 edit(cell);
816}
817
818
819void DebugRegistersWidget::setFilter(const string& filter)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected