Merge "Modify for N_SE-40500, Did not appear empty text when empty text has set in...
authorwonyoung12.lee <wonyoung12.lee@samsung.com>
Mon, 10 Jun 2013 04:43:10 +0000 (13:43 +0900)
committerGerrit Code Review <gerrit2@kim11>
Mon, 10 Jun 2013 04:43:10 +0000 (13:43 +0900)
src/ui/controls/FUiCtrl_IconListPresenter.cpp

index a7e562f..9786b40 100644 (file)
@@ -1678,6 +1678,12 @@ _IconListPresenter::DrawEmptyList(void)
                        bounds.y += emptyTextHeight + bitmapHeight;
                }
                bounds.height = textDimension.height;
+
+               if (pCanvas == null)
+               {
+                       pCanvas = __pEmptyListVE->GetCanvasN();
+               }
+
                pTextObject->SetBounds(bounds);
                pTextObject->Draw(*_CanvasImpl::GetInstance(*pCanvas));
        }