From: jpc Date: Tue, 4 May 2021 16:01:16 +0000 (+0200) Subject: Revert "Fix commented out code" X-Git-Tag: 2.4-Beta1~30 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=313d9fa4d056ed213607500076c1bd391a563b6d;p=lyx.git Revert "Fix commented out code" This reverts commit 23abb5aaa36af07aadfa5e565869104778ba0d6d. --- diff --git a/src/frontends/qt/GuiSelection.cpp b/src/frontends/qt/GuiSelection.cpp index 0eb3d5133d..288cb18432 100644 --- a/src/frontends/qt/GuiSelection.cpp +++ b/src/frontends/qt/GuiSelection.cpp @@ -57,8 +57,8 @@ void GuiSelection::haveSelection(bool own) // We don't need to do anything if own = false, as this case is // handled by QT. // FIXME (gb): This is wrong. What is missing here is rather a call of + //else // qApp->clipboard()->clear(QClipboard::Selection); - // when own is false. // Since we do not issue this call we rather implement // "persistent selections" as far as X is concerned. }