Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennou committed Apr 15, 2017
1 parent 9cdb724 commit b5992d4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Quicksilver/Code-QuickStepInterface/QSInterfaceController.m
Original file line number Diff line number Diff line change
Expand Up @@ -655,17 +655,17 @@ - (void)executeCommand:(id)sender cont:(BOOL)cont encapsulate:(BOOL)encapsulate
[self hideMainWindowFromExecution:self]; // *** this should only hide if no result comes in like 2 seconds
}
if ([[NSUserDefaults standardUserDefaults] boolForKey:kExecuteInThread] && [action canThread]) {
QSGCDAsync(^{
[self executeCommandThreaded];
});
} else {
// action can only be run on main thread
QSGCDMainSync(^{
[self executeCommandThreaded];
});
}
QSGCDAsync(^{
[self executeCommandThreaded];
});
} else {
// action can only be run on main thread
QSGCDMainSync(^{
[self executeCommandThreaded];
});
}
if (cont) {
[[self window] makeFirstResponder:aSelector];
[[self window] makeFirstResponder:aSelector];
}
}

Expand Down

0 comments on commit b5992d4

Please sign in to comment.