Skip to content
Snippets Groups Projects
Commit 0fc303d5 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

test prints to debug initial combo model selection

parent f2dad5a4
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,7 @@ void I0mapmon_topo::m_onLambdaChanged(const QVector<double> &la) {
wlens << QString::number(la.at(i));
wlens_idx << i;
}
printf("\e[1;36maddItem: %s checked %d\e[0m\n", qstoc(QString::number(la.at(i))), checked);
new_m->addItem(QString::number(la.at(i)), true)->setData(checked ? Qt::Checked : Qt::Unchecked, Qt::CheckStateRole);
}
connect(new_m, SIGNAL(itemChecked(QString,bool)), this, SLOT(m_onWlenSelectionChanged(QString, bool)));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment