More size loading fixes

This commit is contained in:
Adam Honse 2020-12-03 01:03:44 -06:00
parent 49fda962be
commit 61d4b8fa5d
2 changed files with 8 additions and 5 deletions

View file

@ -194,6 +194,11 @@ bool ProfileManager::LoadDeviceFromListWithOptions
&&(temp_controller->serial == load_controller->serial )
&&((temp_controller->location == load_controller->location ) || (!compare_location)))
{
/*---------------------------------------------------------*\
| Set used flag for this temp device |
\*---------------------------------------------------------*/
temp_controller_used[temp_index] = true;
/*---------------------------------------------------------*\
| Update zone sizes if requested |
\*---------------------------------------------------------*/
@ -263,8 +268,6 @@ bool ProfileManager::LoadDeviceFromListWithOptions
}
}
temp_controller_used[temp_index] = true;
return(true);
}
}