Fixed if condition.
authorKeuckdo Bang <keuckdo.bang@samsung.net>
Tue, 2 Apr 2013 02:45:38 +0000 (11:45 +0900)
committerKeuckdo Bang <keuckdo.bang@samsung.net>
Tue, 2 Apr 2013 02:45:38 +0000 (11:45 +0900)
Change-Id: Ie8c9acdbaa7323e3d826f1f3f61b933e9c318bfb

src/ui/controls/FUiCtrl_FormImpl.cpp

index 1ae4fd9..4c8aa5c 100644 (file)
@@ -362,7 +362,7 @@ _FormImpl::SetFormStyle(unsigned long formStyle)
        }
 
        _Indicator* pIndicator = GetCore().GetIndicator();
-       if (!pIndicator && !pIndicator->IsAttachedToMainTree())
+       if (pIndicator && !pIndicator->IsAttachedToMainTree())
        {
                r = GetCore().AttachSystemChild(*pIndicator);
                SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));