mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Fix a small glitch in the previous commit and make use of the setter
method to initialize the private name attribute of an NSMenu. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30364 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14b0075299
commit
2d56513a18
1 changed files with 1 additions and 4 deletions
|
@ -1621,10 +1621,7 @@ static BOOL menuBarVisible = YES;
|
|||
}
|
||||
self = [self initWithTitle: dTitle];
|
||||
[self setAutoenablesItems: dAuto];
|
||||
if (dName)
|
||||
{
|
||||
ASSIGN(_name, dName);
|
||||
}
|
||||
[self _setName: dName];
|
||||
|
||||
[self setMenuChangedMessagesEnabled: NO];
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue