File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ PyramidShortcutCopyPasteCut >> copySelectedElementInSpace [
5050 elementCollectionSelected isEmpty
5151 ifTrue: [ ^ self ].
5252 elementCollectionSelected size = 1
53- ifTrue: [ elementCollectionSelected do: [ :element | copyPastePlugin copyAsStonInClipboard: element ] . ^ 1 ]
53+ ifTrue: [ copyPastePlugin copyAsStonInClipboard: (elementCollectionSelected first) . ^ 1 ]
5454 ifFalse: [ self inform: ' Can not copy multiple element' ]
5555
5656
@@ -113,7 +113,7 @@ PyramidShortcutCopyPasteCut >> pasteElement [
113113 elementCollectionSelected isEmpty
114114 ifTrue: [ copyPastePlugin pasteFromClipboardOnFirstLevelElements ].
115115 elementCollectionSelected size = 1
116- ifTrue: [ elementCollectionSelected do: [ :element | copyPastePlugin pasteFromClipboardOnSelection: element ]. ]
116+ ifTrue: [ copyPastePlugin pasteFromClipboardOnSelection: (elementCollectionSelected first) ]
117117
118118
119119
@@ -134,7 +134,7 @@ PyramidShortcutCopyPasteCut >> shortcutActionCopy [
134134PyramidShortcutCopyPasteCut >> shortcutActionCut [
135135
136136 ^ shortcutCut := BlShortcutWithAction new
137- name: ' Pyramid edition shortcut paste ' ;
137+ name: ' Pyramid edition shortcut cut ' ;
138138 combination: keyCombinationCut;
139139 action: [ :event | copyPastePlugin
140140 ifNil: [ self inform: ' Plugin Copy/Paste is not installed' ]
You can’t perform that action at this time.
0 commit comments