From 30f22d135924aadcb468d5ea0f9a1a3a65120f36 Mon Sep 17 00:00:00 2001 From: James Hurst Date: Wed, 27 Aug 2014 21:24:05 -0400 Subject: [PATCH] Fixed autotype on Yosemite (issue #230) --- MacPass/MPAutotypePaste.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MacPass/MPAutotypePaste.m b/MacPass/MPAutotypePaste.m index dc5578f2..a4bfa3bc 100644 --- a/MacPass/MPAutotypePaste.m +++ b/MacPass/MPAutotypePaste.m @@ -38,6 +38,7 @@ [controller stashObjects]; [controller copyObjectsWithoutTimeout:@[self.pasteData]]; [self sendPasteKeyCode]; + usleep(0.1 * NSEC_PER_MSEC); // on 10.10 we need to wait a bit before restoring the pasteboard contents [controller restoreObjects]; } }