mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 20:11:20 +00:00
Minor correction to previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19357 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e7d5af0253
commit
045d4d78cd
1 changed files with 2 additions and 3 deletions
5
Gorm.m
5
Gorm.m
|
@ -758,12 +758,11 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
|
||||||
{
|
{
|
||||||
NSMenu *testMenu;
|
NSMenu *testMenu;
|
||||||
|
|
||||||
testMenu = [[NSMenu alloc] initWithTitle: _(@"Test")];
|
testMenu = [[NSMenu alloc] initWithTitle: _(@"Test Menu")];
|
||||||
[testMenu addItemWithTitle: _(@"Quit")
|
[testMenu addItemWithTitle: _(@"Quit")
|
||||||
action: @selector(deferredEndTesting:)
|
action: @selector(deferredEndTesting:)
|
||||||
keyEquivalent: @"q"];
|
keyEquivalent: @"q"];
|
||||||
[self setMainMenu: testMenu];
|
[self setMainMenu: testMenu]; // released, when the menu is reset in endTesting.
|
||||||
RELEASE(testMenu);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue