diff --git a/Apps/EOModelEditor/EOModelEditorApp.h b/Apps/EOModelEditor/EOModelEditorApp.h index 71081a3..2da0496 100644 --- a/Apps/EOModelEditor/EOModelEditorApp.h +++ b/Apps/EOModelEditor/EOModelEditorApp.h @@ -33,6 +33,7 @@ } +- (void) new:(id)sender; - (EOMEDocument *) activeDocument; @end diff --git a/Apps/EOModelEditor/EOModelEditorApp.m b/Apps/EOModelEditor/EOModelEditorApp.m index c69f5a8..3fb1454 100644 --- a/Apps/EOModelEditor/EOModelEditorApp.m +++ b/Apps/EOModelEditor/EOModelEditorApp.m @@ -58,12 +58,10 @@ if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil) == NSWindows95InterfaceStyle) { - return YES; - } - else - { - return NO; + [self new: self]; } + + return NO; } - (BOOL) applicationShouldTerminateAfterLastWindowClosed: (id)sender diff --git a/ChangeLog b/ChangeLog index 3ea3647..9fb2e45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-18 German A. Arias + + * Apps/EOModelEditor/EOModelEditorApp.h: + * Apps/EOModelEditor/EOModelEditorApp.m: Fix a problem with last + commit. + 2012-03-18 German A. Arias * Apps/EOModelEditor/EOModelEditorApp.m: Added delegate methods