Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3bc38c commit e5be026Copy full SHA for e5be026
1 file changed
Source/SLKTextView.m
@@ -597,8 +597,8 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
597
return self.selectedRange.length > 0 ? YES : NO;
598
}
599
600
- if (action == @selector(paste:)) {
601
- return [self slk_isPasteboardItemSupported];
+ if (action == @selector(paste:) && [self slk_isPasteboardItemSupported]) {
+ return YES;
602
603
604
if (self.undoManagerEnabled) {
0 commit comments