[LyX/master] Fix commented out code
Scott Kostyshak
skostysh at lyx.org
Mon May 4 13:06:25 UTC 2020
commit 23abb5aaa36af07aadfa5e565869104778ba0d6d
Author: Scott Kostyshak <skostysh at lyx.org>
Date: Mon May 4 09:25:15 2020 -0400
Fix commented out code
Since the if condition changed at af4ee1a4, the "else" in the
comment needed correction.
---
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 7e9d29f..e10bb47 100644
--- a/src/frontends/qt/GuiSelection.cpp
+++ b/src/frontends/qt/GuiSelection.cpp
@@ -58,8 +58,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