mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Set selection based on top level editor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21411 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9d116f0f2a
commit
f55c5147da
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-06 10:48 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormDocument.m: changeToViewWithTag: added code to
|
||||
change current selection when switching the editor.
|
||||
|
||||
2005-07-05 10:59 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormDocument.m: Corrected problem where the Gorm
|
||||
|
|
|
@ -783,16 +783,19 @@ static NSImage *fileImage = nil;
|
|||
case 0: // objects
|
||||
{
|
||||
[selectionBox setContentView: scrollView];
|
||||
[self setSelectionFromEditor: objectsView];
|
||||
}
|
||||
break;
|
||||
case 1: // images
|
||||
{
|
||||
[selectionBox setContentView: imagesScrollView];
|
||||
[self setSelectionFromEditor: imagesView];
|
||||
}
|
||||
break;
|
||||
case 2: // sounds
|
||||
{
|
||||
[selectionBox setContentView: soundsScrollView];
|
||||
[self setSelectionFromEditor: soundsView];
|
||||
}
|
||||
break;
|
||||
case 3: // classes
|
||||
|
@ -807,6 +810,7 @@ static NSImage *fileImage = nil;
|
|||
id obj = [selection objectAtIndex: 0];
|
||||
[classesView selectClassWithObject: obj];
|
||||
}
|
||||
[self setSelectionFromEditor: classesView];
|
||||
}
|
||||
break;
|
||||
case 4: // file prefs
|
||||
|
|
Loading…
Reference in a new issue