mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 03:09:04 +00:00
Changed: #1038 Implement copy/paste for Linux (patch provided by Naush)
This commit is contained in:
parent
e8563f4156
commit
106ef09c23
1 changed files with 2 additions and 2 deletions
|
@ -332,7 +332,7 @@ void CGroupEditBox::copy()
|
||||||
stopParentBlink();
|
stopParentBlink();
|
||||||
|
|
||||||
// get the selection and copy it
|
// get the selection and copy it
|
||||||
if (CSystemUtils::copyTextToClipboard(getSelection()))
|
if (Driver->copyTextToClipboard(getSelection()))
|
||||||
nlinfo ("Chat input was copied in the clipboard");
|
nlinfo ("Chat input was copied in the clipboard");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -352,7 +352,7 @@ void CGroupEditBox::paste()
|
||||||
|
|
||||||
ucstring sString;
|
ucstring sString;
|
||||||
|
|
||||||
if (CSystemUtils::pasteTextFromClipboard(sString))
|
if (Driver->pasteTextFromClipboard(sString))
|
||||||
{
|
{
|
||||||
sint length = (sint)sString.length();
|
sint length = (sint)sString.length();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue