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
This commit is contained in:
Antoine Mercadal committed 2012-04-09 19:20:47 -07:00
1 parent dd63174493
commit 1e2964ad8f
1 file changed
+1 -1
+1 -1
View File
@@ -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];
}
}