Correct problem with testInterface.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23134 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-07-05 23:58:14 +00:00
parent fc17434efb
commit fb005e339f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2006-07-05 19:56 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Correct bug introduced at some point in testInterface which
causes the test mode not to display a menu when the application has no
menu. It is supposed to show a small test menu so that test mode
can be exited.
2006-07-05 00:02 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperLoader.m: Added check to prevent error

2
Gorm.m
View file

@ -493,7 +493,7 @@
* If the model didn't have a main menu, create one,
* otherwise, ensure that 'quit' ends testing mode.
*/
if ([self mainMenu] == mainMenu)
if (aMenu == nil)
{
NSMenu *testMenu;