From: Keuckdo Bang Date: Thu, 2 May 2013 00:09:30 +0000 (+0900) Subject: Fixed jira issue - N_SE-36229 and prevent error. X-Git-Tag: submit/tizen_2.1/20130514.054411~125^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=277fd5ee60dc331af527ec27cf65de952caf9ea8;p=framework%2Fosp%2Fuifw.git Fixed jira issue - N_SE-36229 and prevent error. Change-Id: Ie7a86f6eb60ca7462923e384dc6548f396ae45da --- diff --git a/src/ui/controls/FUiCtrl_Form.cpp b/src/ui/controls/FUiCtrl_Form.cpp index 760f8bc..5a7c9c4 100644 --- a/src/ui/controls/FUiCtrl_Form.cpp +++ b/src/ui/controls/FUiCtrl_Form.cpp @@ -2970,11 +2970,6 @@ _Form::AttachedToMainTree(void) { AddIndicatorObject(); - if (__indicatorShowState != IsIndicatorVisible()) - { - SetIndicatorShowState(__indicatorShowState); - } - if (__transparentIndicator != IsIndicatorTranslucent()) { if (__transparentIndicator == true) @@ -2987,6 +2982,11 @@ _Form::AttachedToMainTree(void) } } + if (__indicatorShowState != IsIndicatorVisible()) + { + SetIndicatorShowState(__indicatorShowState); + } + r = GetLastResult(); SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); } @@ -3307,6 +3307,8 @@ _Form::GetFormOrientationStatus(void) const { return __pFormOrientationstatusEventListener->OnFormOrientationStatusRequested(); } + + return ORIENTATION_STATUS_PORTRAIT; } }}} // Tizen::Ui::Controls