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,8 +554,10 @@ void GuiClipboard::setFindBuffer(docstring const & text)
|
||||
{
|
||||
LYXERR(Debug::CLIPBOARD, "new findbuffer: " << text);
|
||||
Clipboard::setFindBuffer(text);
|
||||
if(qApp->clipboard()->supportsFindBuffer()) {
|
||||
qApp->clipboard()->setText(toqstr(text), QClipboard::FindBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void GuiClipboard::on_findChanged()
|
||||
|
Loading…
Reference in New Issue
Block a user