fixed bug(N_SE-56485)
authorChulheon <ch.jeong47@samsung.com>
Tue, 29 Oct 2013 07:47:26 +0000 (16:47 +0900)
committerChulheon <ch.jeong47@samsung.com>
Tue, 29 Oct 2013 07:47:26 +0000 (16:47 +0900)
Change-Id: I2b74e6f65e275f638d99af9ed48a4f86fbc49aa5

src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp

index 60264db..dc8a9f3 100644 (file)
@@ -2573,9 +2573,16 @@ _EditCopyPasteManager::OnActionPerformed(const _Control& source, int actionId)
                break;
 
        case COPY_PASTE_CLIPBOARD_ID:
-               pClipBoard->ShowPopup(CLIPBOARD_DATA_TYPE_TEXT, *__pEdit, true);
-               ReleaseCopyPastePopup();
-               SendCopyPasteEvent(CORE_COPY_PASTE_STATUS_HIDE, CORE_COPY_PASTE_ACTION_CLIPBOARD);
+               if (!pClipBoard->IsPopupVisible())
+               {
+                       pClipBoard->ShowPopup(CLIPBOARD_DATA_TYPE_TEXT, *__pEdit, true);
+                       ReleaseCopyPastePopup();
+                       SendCopyPasteEvent(CORE_COPY_PASTE_STATUS_HIDE, CORE_COPY_PASTE_ACTION_CLIPBOARD);
+               }
+               else
+               {
+                       ReleaseCopyPastePopup();
+               }
                break;
        case COPY_PASTE_SEARCH_ID:
                LaunchSearch();