Fixed autotype on Yosemite (issue #230)

This commit is contained in:
James Hurst
2014-08-27 21:24:05 -04:00
parent a5a8c0646f
commit 30f22d1359

View File

@@ -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];
}
}