Fix method of creating simpleitem in tableview.
authoryouseong.ji <youseong.ji@samsung.com>
Mon, 13 May 2013 04:34:41 +0000 (13:34 +0900)
committeryouseong.ji <youseong.ji@samsung.com>
Mon, 13 May 2013 04:34:41 +0000 (13:34 +0900)
Change-Id: I82c4caf0d2bfa11b17515fcc4037d6d48dcd76d2
Signed-off-by: youseong.ji <youseong.ji@samsung.com>
src/ui/controls/FUiCtrl_TableViewItem.cpp

index 3bb4693..505267c 100644 (file)
@@ -3524,9 +3524,9 @@ _TableViewItem::CreateSimpleItemContents(bool textOnly)
                        r = GetLastResult();
                        SysTryReturn(NID_UI_CTRL, __pSimpleItemBitmap != null, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
-                       __pSimpleItemText->Construct(FloatRectangle(0.0f, 0.0f, 0.0f, 0.0f), L"");
+                       __pSimpleItemBitmap->Construct(FloatRectangle(0.0f, 0.0f, 0.0f, 0.0f), L"");
 
-                       __pSimpleItemText->SetBackgroundColor(Color(0, 0, 0, 0));
+                       __pSimpleItemBitmap->SetBackgroundColor(Color(0, 0, 0, 0));
                }
 
        }