Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5be026

Browse files
author
Ignacio Romero Zurbuchen
committed
Keeping as is
1 parent d3bc38c commit e5be026

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/SLKTextView.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
597597
return self.selectedRange.length > 0 ? YES : NO;
598598
}
599599

600-
if (action == @selector(paste:)) {
601-
return [self slk_isPasteboardItemSupported];
600+
if (action == @selector(paste:) && [self slk_isPasteboardItemSupported]) {
601+
return YES;
602602
}
603603

604604
if (self.undoManagerEnabled) {

0 commit comments

Comments
 (0)