More size loading fixes
This commit is contained in:
parent
49fda962be
commit
61d4b8fa5d
2 changed files with 8 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue