ui/cocoa/AppDelegate.m

changeset 1190
7dcd5994c9a5
parent 1189
6efc3994e8dd
--- a/ui/cocoa/AppDelegate.m	Thu Jun 11 20:27:11 2026 +0200
+++ b/ui/cocoa/AppDelegate.m	Thu Jun 11 20:35:37 2026 +0200
@@ -38,11 +38,8 @@
 
 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
     NSLog(@"toolkit applicationDidFinishLaunching");
-    ui_menu_init();
     uic_application_startup(NULL);
-    // run ui_menu_init again, because it is possible, that the startup func
-    // added menus (which is probably true when using other language bindings)
-    // the menu init func can be called multiple times and is also called
+    // The menu init func can be called multiple times and is also called
     // when a new window is created
     // The only usecase for calling init here is, that an application might not
     // open a window on startup, but wants a working menubar

mercurial