diff --git a/src/frontends/qt/GuiClipboard.cpp b/src/frontends/qt/GuiClipboard.cpp index 697977d8d6..6c1d9816c4 100644 --- a/src/frontends/qt/GuiClipboard.cpp +++ b/src/frontends/qt/GuiClipboard.cpp @@ -554,7 +554,9 @@ void GuiClipboard::setFindBuffer(docstring const & text) { LYXERR(Debug::CLIPBOARD, "new findbuffer: " << text); Clipboard::setFindBuffer(text); - qApp->clipboard()->setText(toqstr(text), QClipboard::FindBuffer); + if(qApp->clipboard()->supportsFindBuffer()) { + qApp->clipboard()->setText(toqstr(text), QClipboard::FindBuffer); + } }