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

test prints to debug initial combo model selection

parent ca465445
No related branches found
No related tags found
No related merge requests found
......@@ -111,8 +111,8 @@ void I0mapmon_topo::m_onLabelsReady(const QStringList &names) {
void I0mapmon_topo::m_onWlenSelectionChanged(QString wlen, bool on) {
QStringList wlens;
QVector<int> wlens_idx;
for(int i = 1; i < ->rowCount(); i++) { // i = 0 is not checkable
QStandardItem *it = ->item(i);
for(int i = 1; i < m_cb_model->rowCount(); i++) { // i = 0 is not checkable
QStandardItem *it = m_cb_model->item(i);
if((it->flags() & Qt::ItemIsUserCheckable) && it->data(Qt::CheckStateRole).toBool()) {
wlens.append(it->text());
wlens_idx << i - 1;
......
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