mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Additional check for clipboards find buffer support - otherwise Qt complains with unsupported clipboard mode
This commit is contained in:
parent
5a58ca6576
commit
d65e7a8c87
@ -554,7 +554,9 @@ void GuiClipboard::setFindBuffer(docstring const & text)
|
|||||||
{
|
{
|
||||||
LYXERR(Debug::CLIPBOARD, "new findbuffer: " << text);
|
LYXERR(Debug::CLIPBOARD, "new findbuffer: " << text);
|
||||||
Clipboard::setFindBuffer(text);
|
Clipboard::setFindBuffer(text);
|
||||||
qApp->clipboard()->setText(toqstr(text), QClipboard::FindBuffer);
|
if(qApp->clipboard()->supportsFindBuffer()) {
|
||||||
|
qApp->clipboard()->setText(toqstr(text), QClipboard::FindBuffer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user