From af1648da1caf4f9333c4ca64752be4301b4a56c5 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Thu, 6 Dec 2018 11:52:04 +0100 Subject: [PATCH] Updated to current KeePassKit to fix #736 --- Cartfile.resolved | 2 +- MacPass/MPOutlineContextMenuDelegate.m | 4 ++-- MacPass/PluginRepositoryBrowserView.xib | 31 ++++++++++++++++--------- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/Cartfile.resolved b/Cartfile.resolved index 68a1372b..114cd0d5 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,4 +1,4 @@ -github "MacPass/KeePassKit" "2.3.6" +github "MacPass/KeePassKit" "2.3.8" github "mstarke/HNHUi" "3.0" github "robbiehanson/KissXML" "5.2.3" github "sparkle-project/Sparkle" "1.20.0" diff --git a/MacPass/MPOutlineContextMenuDelegate.m b/MacPass/MPOutlineContextMenuDelegate.m index c0da4554..5f1ce530 100644 --- a/MacPass/MPOutlineContextMenuDelegate.m +++ b/MacPass/MPOutlineContextMenuDelegate.m @@ -51,11 +51,11 @@ NSString *const _MPOutlineMenuTemplate = @"Template"; */ id item = [self.viewController itemUnderMouse]; - if( [item isKindOfClass:[KPKTree class]]) { + if( [item isKindOfClass:KPKTree.class]) { [self _updateRootMenu:menu]; } - if( [item isKindOfClass:[KPKGroup class]]) { + if( [item isKindOfClass:KPKGroup.class]) { KPKGroup *group = (KPKGroup *)item; MPDocument *document = [NSDocumentController sharedDocumentController].currentDocument; if(group && document.root == group ) { diff --git a/MacPass/PluginRepositoryBrowserView.xib b/MacPass/PluginRepositoryBrowserView.xib index 99f2a381..fcff738d 100644 --- a/MacPass/PluginRepositoryBrowserView.xib +++ b/MacPass/PluginRepositoryBrowserView.xib @@ -1,8 +1,8 @@ - + - + @@ -19,13 +19,13 @@ - + - + - + @@ -141,11 +141,11 @@ - - + + - - + - + - +