mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 17:39:24 +00:00
String as Autotype command results in only one Paste command - fixed #338
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -78,14 +78,14 @@
|
||||
KPKWindowAssociation *association = [entry.autotype windowAssociationMatchingWindowTitle:windowTitle];
|
||||
context = [[MPAutotypeContext alloc] initWithWindowAssociation:association];
|
||||
}
|
||||
if(context.isValid) {
|
||||
if(context.valid) {
|
||||
[contexts addObject:context];
|
||||
}
|
||||
}
|
||||
/* Fall back to preferred Entry if no match was found */
|
||||
if(contexts.count == 0 && usePreferredEntry) {
|
||||
context = [[MPAutotypeContext alloc] initWithEntry:entry andSequence:entry.autotype.defaultKeystrokeSequence];
|
||||
if(context.isValid) {
|
||||
if(context.valid) {
|
||||
[contexts addObject:context];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user