X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FIntBrightnessForm.cpp;h=fdf88d4ac820ab4fe197a6730bb00510cedaa19e;hb=322bbb0e4af89fabcc9603ef257682f790cbfd0a;hp=51e0963ed7af226622c184f876ad1320b886db54;hpb=7321398a43153bea508142403732fe3e21aea895;p=apps%2Fosp%2FInternet.git diff --git a/src/IntBrightnessForm.cpp b/src/IntBrightnessForm.cpp index 51e0963..fdf88d4 100644 --- a/src/IntBrightnessForm.cpp +++ b/src/IntBrightnessForm.cpp @@ -248,7 +248,7 @@ BrightnessForm::OnFormBackRequested(Form& source) r = pAppRegistry->Set(sliderKey,sliderValue); FooterItemStatus footerStatus; GetFooter()->GetItemStatus(0,footerStatus); - if (footerStatus == FOOTER_ITEM_STATUS_SELECTED) + if (footerStatus == FOOTER_ITEM_STATUS_SELECTED || footerStatus == FOOTER_ITEM_STATUS_HIGHLIGHTED) { r = pAppRegistry->Set(tabKey,0); } @@ -301,7 +301,7 @@ BrightnessForm::OnActionPerformed(const Control& source, int actionId) r = pAppRegistry->Set(sliderKey,sliderValue); FooterItemStatus footerStatus; GetFooter()->GetItemStatus(0,footerStatus); - if (footerStatus == FOOTER_ITEM_STATUS_SELECTED) + if (footerStatus == FOOTER_ITEM_STATUS_SELECTED || footerStatus == FOOTER_ITEM_STATUS_HIGHLIGHTED) { r = pAppRegistry->Set(tabKey,0); }