mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
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:
parent
0c2af746d9
commit
a76799770b
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue