From 1e2964ad8f5dcbf220c4bdf802730591d0864bc8 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Mon, 9 Apr 2012 19:20:47 -0700 Subject: [PATCH] Fix a crash do to calling non-existing selector That said, the popover is not moving correctly with the attached view as it did. Patch in a following commit --- AppKit/_CPAttachedWindow.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/_CPAttachedWindow.j b/AppKit/_CPAttachedWindow.j index 1eb175b4e..8e53162a6 100644 --- a/AppKit/_CPAttachedWindow.j +++ b/AppKit/_CPAttachedWindow.j @@ -186,7 +186,7 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, // TODO: don't recompute everything, just compute the move offset var edge = [_windowView preferredEdge]; - [self positionRelativeToView:_targetView preferredEdge:edge]; + [self positionRelativeToRect:nil ofView:_targetView preferredEdge:edge]; } }