From 34bc13ccc9b4fe4f07117e6d26201a89d9506489 Mon Sep 17 00:00:00 2001 From: Chulheon Date: Mon, 8 Apr 2013 09:33:03 +0900 Subject: [PATCH] fixed bug (copy&paste display error) Change-Id: I9e7d5eb2537b5ed1f83495f2f1dd332f30bdfa54 --- src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp index 4418b89..617ed31 100755 --- a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp +++ b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp @@ -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) { -- 2.7.4