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();