Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
Nimetu 6 years ago
commit 6c029e7af7

@ -402,6 +402,10 @@ CViewBase *CChatTextManager::createMsgTextComplex(const ucstring &msg, NLMISC::C
para->setSizeRef("w"); para->setSizeRef("w");
para->setResizeFromChildH(true); para->setResizeFromChildH(true);
// use right click because left click might be used to activate chat window
para->setRightClickHandler("copy_to_clipboard");
para->setRightClickHandlerParams(msg.toUtf8());
if (plaintext) if (plaintext)
{ {
CViewBase *vt = createMsgTextSimple(msg, col, justified, NULL); CViewBase *vt = createMsgTextSimple(msg, col, justified, NULL);

Loading…
Cancel
Save