Change X11 selection only if any text selected

This commit is contained in:
miruka 2019-10-25 09:02:21 -04:00
parent 30ebb7c88e
commit 3bc185f4e6

View File

@ -39,7 +39,8 @@ FocusScope {
}
onJoinedSelectionChanged: Clipboard.selection = joinedSelection
onJoinedSelectionChanged:
if (joinedSelection) Clipboard.selection = joinedSelection
onDragStarted: {
draggedItem.Drag.active = true