Fixing button locking, part I

This commit is contained in:
2026-01-06 18:47:08 +01:00
parent 221e0bc8c2
commit a8a947ff0b
8 changed files with 50 additions and 27 deletions

View File

@@ -212,8 +212,8 @@ std::optional<BCValuePtr> BCXmlLoader::makeValue( BCDevice::ID deviceID, const B
BCValue& newValue = *newValuePtr.get();
setIfExists( params.Factor, newValue.factor );
setIfExists( params.Min, newValue.min );
setIfExists( params.Max, newValue.max );
setIfExists( params.Min, newValue.optMin );
setIfExists( params.Max, newValue.optMax );
setIfExists( params.IsWord, newValue.isWord );
newValue.label = params.Label;