mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 07:19:30 +00:00
Mingling with Editing. Updated KeePassKit
This commit is contained in:
@@ -265,7 +265,11 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) {
|
||||
_activePopover = [[NSPopover alloc] init];
|
||||
_activePopover.delegate = self;
|
||||
_activePopover.behavior = NSPopoverBehaviorTransient;
|
||||
if([viewController respondsToSelector:@selector(setCloseTarget:)]) {
|
||||
[(id)viewController setCloseTarget:_activePopover];
|
||||
}
|
||||
_activePopover.contentViewController = viewController;
|
||||
|
||||
[_activePopover showRelativeToRect:NSZeroRect ofView:view preferredEdge:edge];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user