[LyX/master] Revert "Fix commented out code"

jpc jpc at lyx.org
Tue May 4 16:01:40 UTC 2021


commit 313d9fa4d056ed213607500076c1bd391a563b6d
Author: jpc <jpc at lyx.org>
Date:   Tue May 4 18:01:16 2021 +0200

    Revert "Fix commented out code"
    
    This reverts commit 23abb5aaa36af07aadfa5e565869104778ba0d6d.
---
 src/frontends/qt/GuiSelection.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiSelection.cpp b/src/frontends/qt/GuiSelection.cpp
index 0eb3d51..288cb18 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.
 }


More information about the lyx-cvs mailing list