Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Keeping as is
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Romero Zurbuchen committed Apr 21, 2016
1 parent d3bc38c commit e5be026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/SLKTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
return self.selectedRange.length > 0 ? YES : NO;
}

if (action == @selector(paste:)) {
return [self slk_isPasteboardItemSupported];
if (action == @selector(paste:) && [self slk_isPasteboardItemSupported]) {
return YES;
}

if (self.undoManagerEnabled) {
Expand Down

0 comments on commit e5be026

Please sign in to comment.