From 3bc185f4e607c3a332312fc99fac7871ffb756db Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 25 Oct 2019 09:02:21 -0400 Subject: [PATCH] Change X11 selection only if any text selected --- src/qml/Base/HSelectableLabelContainer.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/Base/HSelectableLabelContainer.qml b/src/qml/Base/HSelectableLabelContainer.qml index 6eaae383..be859852 100644 --- a/src/qml/Base/HSelectableLabelContainer.qml +++ b/src/qml/Base/HSelectableLabelContainer.qml @@ -39,7 +39,8 @@ FocusScope { } - onJoinedSelectionChanged: Clipboard.selection = joinedSelection + onJoinedSelectionChanged: + if (joinedSelection) Clipboard.selection = joinedSelection onDragStarted: { draggedItem.Drag.active = true