mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
fixed #396. Perform autotype on selected entries works again
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
github "mstarke/HNHUi" "1.0.1"
|
||||
github "mstarke/KeePassKit" "1.0"
|
||||
github "mstarke/KeePassKit" "1.0.1"
|
||||
github "sparkle-project/Sparkle" "1.12.0b1"
|
||||
|
||||
@@ -30,7 +30,6 @@ APPKIT_EXTERN NSString *const MPDidChangeStoredKeyFilesSettings;
|
||||
|
||||
@property (strong) IBOutlet NSWindow *passwordCreatorWindow;
|
||||
@property (strong) IBOutlet NSWindow *welcomeWindow;
|
||||
@property (strong) MPAutotypeDaemon *autotypeDaemon;
|
||||
@property (weak) IBOutlet NSMenuItem *saveMenuItem;
|
||||
|
||||
@property (nonatomic, assign) BOOL isAllowedToStoreKeyFile;
|
||||
|
||||
@@ -379,8 +379,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
|
||||
- (void)performAutotypeForEntry:(id)sender {
|
||||
id<MPTargetNodeResolving> entryResolver = [NSApp targetForAction:@selector(currentTargetEntry)];
|
||||
KPKEntry *targetEntry = [entryResolver currentTargetEntry];
|
||||
MPAutotypeDaemon *autotyped = ((MPAppDelegate *)[NSApplication sharedApplication].delegate).autotypeDaemon;
|
||||
[autotyped performAutotypeForEntry:targetEntry];
|
||||
[[MPAutotypeDaemon defaultDaemon] performAutotypeForEntry:targetEntry];
|
||||
}
|
||||
|
||||
- (void)showInspector:(id)sender {
|
||||
|
||||
Reference in New Issue
Block a user