Merge pull request #232 from jamesrhurst/issue230

Fixed autotype on Yosemite (issue #230)
This commit is contained in:
Michael Starke
2014-08-28 19:23:39 +02:00

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