fixed bug (copy&paste display error)
authorChulheon <ch.jeong47@samsung.com>
Mon, 8 Apr 2013 00:33:03 +0000 (09:33 +0900)
committerChulheon <ch.jeong47@samsung.com>
Mon, 8 Apr 2013 00:33:03 +0000 (09:33 +0900)
Change-Id: I9e7d5eb2537b5ed1f83495f2f1dd332f30bdfa54

src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp

index 4418b89..617ed31 100755 (executable)
@@ -1514,6 +1514,11 @@ _EditCopyPasteManager::CreateCopyPastePopup(void)
        GET_SHAPE_CONFIG(CONTEXTMENU::GRID_BOTTOM_MARGIN, orientation, contextMenuBottomMargin);
        GET_SHAPE_CONFIG(CONTEXTMENU::ANCHOR_HEIGHT, orientation, contextMenuArrowHeight);
 
+       if ( __pEdit->GetTextLength() == 0 && !__pEdit->IsClipped())
+       {
+               return;
+       }
+
        __contextMenuHeight = contextMenuHeight + contextMenuTopMargin + contextMenuBottomMargin + contextMenuArrowHeight;
        if (__pEdit->IsClipped() == true && __pEdit->IsViewModeEnabled() == false && __pEdit->GetTextLength() > 0 && orientation == _CONTROL_ORIENTATION_PORTRAIT)
        {