mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Use the cached value GuiSelection::selection_supported_
That's where it is for.
This commit is contained in:
parent
cee8e61b2e
commit
847d1fb2f5
@ -39,7 +39,7 @@ GuiSelection::GuiSelection()
|
||||
|
||||
void GuiSelection::haveSelection(bool own)
|
||||
{
|
||||
if (!qApp->clipboard()->supportsSelection())
|
||||
if (!selection_supported_)
|
||||
return;
|
||||
|
||||
// Tell qt that we have a selection by setting a dummy selection.
|
||||
|
Loading…
Reference in New Issue
Block a user