mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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)
|
void GuiSelection::haveSelection(bool own)
|
||||||
{
|
{
|
||||||
if (!qApp->clipboard()->supportsSelection())
|
if (!selection_supported_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Tell qt that we have a selection by setting a dummy selection.
|
// Tell qt that we have a selection by setting a dummy selection.
|
||||||
|
Loading…
Reference in New Issue
Block a user