Controls embedded in NSScrollView must be handled differently

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@11438 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Laurent Julliard 2001-11-20 16:48:18 +00:00
parent 0c2af746d9
commit a76799770b

View file

@ -348,6 +348,13 @@
current = [anObj tag];
}
// Operate on the document view if the selected object is a NSScrollView
if ([obj isKindOfClass: [NSScrollView class]] &&
([(NSScrollView *)obj documentView] != nil) )
{
obj = [(NSScrollView *)obj documentView];
}
/*
* Set panel title for the type of object being inspected.
*/