Skip to content

Commit

Permalink
Modify paste method
Browse files Browse the repository at this point in the history
  • Loading branch information
Econa77 committed Sep 9, 2015
1 parent 3d20e47 commit 9a57716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Clipy/Managers/CPYClipManager.swift
Expand Up @@ -169,7 +169,7 @@ class CPYClipManager: NSObject {

func copyClipToPasteboardAtIndex(index: NSInteger) {
let result = self.loadSortedClips()
if let clip = result.objectAtIndex(UInt(index)) as? CPYClip {
if let clip = result.objectAtIndex(UInt(index)) as? CPYClip where !clip.invalidated {
self.copyClipToPasteboard(clip)
}
}
Expand Down

0 comments on commit 9a57716

Please sign in to comment.