Corrected a problem with pasting menu items/menus.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21141 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-04-22 16:27:35 +00:00
parent 6618ced98b
commit 9e92da8d1b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-04-22 12:24 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/0Menus/GormMenuEditor.m: [GormMenuEditor pasteInSelection]
corrected problem with pasting the menu items.
2005-04-21 20:40 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GNUmakefile: Build the new resource manager.

View file

@ -786,7 +786,7 @@ void _attachAll(NSMenu *menu, id document)
[item setMixedStateImage: nil];
}
[edited addItem: item];
[document attachObject: item toParent: [self _menu]];
[document attachObject: item toParent: edited];
}
[edited sizeToFit];
[edited display];