[Version] N/A
[Project] N/A
[Title] Fix for clearing the selection after coping the text
[BinType] N/A
[Customer] N/A
[Issue#] N_SE-8601
[Problem] Selection was not getting cleared after coping the text
[Cause] selection is not cleared
[Solution] added code to clear the selection after copy only
[Team] Browser(WCS)
[Developer] Prathmesh.m
[Request] N/A
[Horizontal expansion] N/A
[SCMRequest] N/A
Change-Id: I8f65924c9a7950230b9e56b8de3ca380bbe32c6e
openNewWindow(loader->url(), frame);
break;
}
- case ContextMenuItemTagCopy:
+ case ContextMenuItemTagCopy: {
frame->editor()->copy();
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+ if (frame->selection())
+ frame->editor()->command("Unselect").execute();
+#endif
break;
+ }
case ContextMenuItemTagGoBack:
if (Page* page = frame->page())
page->backForward()->goBackOrForward(-1);