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

Scott Kostyshak skostysh at lyx.org
Tue May 4 16:25:37 UTC 2021


commit 423ddb1199b9112de588082241a6ea3d0215fd7a
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Tue May 4 12:33:14 2021 -0400

    Revert "Revert "Fix commented out code""
    
    This reverts commit 313d9fa4d056ed213607500076c1bd391a563b6d.
    
    (the initial reversion was done unintentionally)
---
 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 288cb18..0eb3d51 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