mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +00:00
Add test for FLAG to clean up debug in updatesummary
This commit is contained in:
parent
4cd2ce2743
commit
85512761ea
@ -1139,7 +1139,14 @@ void Session::updateCountSummary(ChannelID code)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (valsum.size() == 0) {
|
if ( valsum.size() == 0) {
|
||||||
|
using namespace schema;
|
||||||
|
Channel *ch_p = channel.channels[code];
|
||||||
|
if ( ! ch_p->isNull() ) {
|
||||||
|
if ( ch_p->type() == FLAG )
|
||||||
|
return;
|
||||||
|
qDebug() << "No valuesummary for channel " << ch_p->label();
|
||||||
|
}
|
||||||
qDebug() << "No valuesummary for channel (hex)" << QString::number(code, 16);
|
qDebug() << "No valuesummary for channel (hex)" << QString::number(code, 16);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user