Chanded to permanent editors.

This commit is contained in:
2026-01-11 01:12:28 +01:00
parent 7780657d82
commit d3c62335b1
7 changed files with 32 additions and 8 deletions

View File

@@ -90,7 +90,21 @@ bool BCDeviceView::firstExpose()
void BCDeviceView::onValueListReady( BCDevice::ID deviceID, BCValueList valueList )
{
if(_devideID == deviceID)
{
_valueModel.takeValueList( valueList );
const BCValueList& list = _valueModel.getValueList();
int rows = _valueModel.rowCount();
for (int r = 0; r < rows; ++r)
{
BCValuePtr bcValue = list[r];
if( !bcValue->isReadOnly() )
{
QModelIndex index = _valueModel.index(r, 1);
openPersistentEditor(index);
}
}
} // if id
}