mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Removed extra attach.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9e92da8d1b
commit
e2bd7a4fc5
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-22 12:38 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/0Menus/GormMenuEditor.m: [GormMenuEditor pasteInSelection]
|
||||
removed extra call to attachObject:withParent:.
|
||||
|
||||
2005-04-22 12:24 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/0Menus/GormMenuEditor.m: [GormMenuEditor pasteInSelection]
|
||||
|
|
|
@ -780,13 +780,12 @@ void _attachAll(NSMenu *menu, id document)
|
|||
{
|
||||
NSString *title = [item title];
|
||||
|
||||
if ([[self _menu] _ownedByPopUp])
|
||||
if ([edited _ownedByPopUp])
|
||||
{
|
||||
[item setOnStateImage: nil];
|
||||
[item setMixedStateImage: nil];
|
||||
}
|
||||
[edited addItem: item];
|
||||
[document attachObject: item toParent: edited];
|
||||
}
|
||||
[edited sizeToFit];
|
||||
[edited display];
|
||||
|
|
Loading…
Reference in a new issue