From 78e777412f531ab8c7ae23a8c0d2304d805bc474 Mon Sep 17 00:00:00 2001 From: "youseong.ji" Date: Mon, 13 May 2013 13:34:41 +0900 Subject: [PATCH] Fix method of creating simpleitem in tableview. Change-Id: I82c4caf0d2bfa11b17515fcc4037d6d48dcd76d2 Signed-off-by: youseong.ji --- src/ui/controls/FUiCtrl_TableViewItem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/controls/FUiCtrl_TableViewItem.cpp b/src/ui/controls/FUiCtrl_TableViewItem.cpp index 3bb4693..505267c 100644 --- a/src/ui/controls/FUiCtrl_TableViewItem.cpp +++ b/src/ui/controls/FUiCtrl_TableViewItem.cpp @@ -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)); } } -- 2.7.4