diff -r e1a893011fac -r b95d12697049 vtuis/videotelui/src/CVtUiAppUi.cpp --- a/vtuis/videotelui/src/CVtUiAppUi.cpp Wed Jun 09 09:44:39 2010 +0300 +++ b/vtuis/videotelui/src/CVtUiAppUi.cpp Mon Jun 21 15:43:21 2010 +0300 @@ -1764,28 +1764,40 @@ - if ( wb && iUiStates->IsWhiteBalanceSettingAvailable() ) - { - __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL WB update" ) - wb->UpdateSettingL(); - } - - if ( ct && iUiStates->IsColorToneSettingAvailable() ) - { - __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL CT update" ) - ct->UpdateSettingL(); + if ( wb && wb->State() == MVtUiFeature::EActive ) + { + if ( iUiStates->IsWhiteBalanceSettingAvailable() ) + { + __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL WB update" ) + wb->UpdateSettingL(); + } + } + + if ( ct && ct->State() == MVtUiFeature::EActive ) + { + if ( iUiStates->IsColorToneSettingAvailable() ) + { + __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL CT update" ) + ct->UpdateSettingL(); + } } - if ( br && iUiStates->IsBrightnessSettingAvailable() ) - { - __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL br update" ) - br->UpdateSlider(); + if ( br && br->State() == MVtUiFeature::EActive ) + { + if ( iUiStates->IsBrightnessSettingAvailable() ) + { + __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL br update" ) + br->UpdateSlider(); + } } - if ( contr && iUiStates->IsContrastSettingAvailable() ) - { - __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL contract update" ) - contr->UpdateSlider(); + if ( contr && contr->State() == MVtUiFeature::EActive ) + { + if ( iUiStates->IsContrastSettingAvailable() ) + { + __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL contract update" ) + contr->UpdateSlider(); + } } }