move maintainClipboard into if block

This commit is contained in:
Luke Pommersheim
2015-08-16 09:04:33 +02:00
parent 2655513673
commit 33abc6698c

View File

@@ -2594,7 +2594,7 @@ class TextEditor extends Model
for selection in @getSelectionsOrderedByBufferPosition()
if not selection.isEmpty()
selection.copy(maintainClipboard, true)
maintainClipboard = true
maintainClipboard = true
return
# Essential: For each selection, cut the selected text.