Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,11 @@ -(void)pollPB:(NSTimer *)timer
NSString *contents = [jcPasteboard stringForType:type];

// Toggle back if dealing with the RDC issue.
if (largeCopyRisk)
[self toggleMenuIconDisabled];
if (largeCopyRisk) {
dispatch_async(dispatch_get_main_queue(), ^{
[self toggleMenuIconDisabled];
});
}

if ( contents == nil || [flycutOperator shouldSkip:contents ofType:[jcPasteboard availableTypeFromArray:[NSArray arrayWithObject:NSStringPboardType]] fromAvailableTypes:[jcPasteboard types]] ) {
DLog(@"Contents: Empty or skipped");
Expand Down