Fix loading wrong nibs for menus
This commit is contained in:
@@ -101,7 +101,7 @@ void init_menubar() {
|
||||
if(inited) return;
|
||||
inited = true;
|
||||
NSApplication* app = [NSApplication sharedApplication];
|
||||
[NSBundle loadNibNamed: @"menu" owner: app];
|
||||
[NSBundle loadNibNamed: @"game" owner: app];
|
||||
menu_bar_handle = [app mainMenu];
|
||||
|
||||
apple_menu = [[menu_bar_handle itemWithTitle: @"Blades of Exile"] submenu];
|
||||
|
@@ -46,7 +46,7 @@ void init_menubar() {
|
||||
inited = true;
|
||||
|
||||
NSApplication* app = [NSApplication sharedApplication];
|
||||
[NSBundle loadNibNamed: @"pc.menu" owner: app];
|
||||
[NSBundle loadNibNamed: @"pcedit" owner: app];
|
||||
menu_bar_handle = [app mainMenu];
|
||||
|
||||
apple_menu = [[menu_bar_handle itemWithTitle: @"BoE Character Editor"] submenu];
|
||||
|
@@ -33,7 +33,7 @@ void init_menubar() {
|
||||
inited = true;
|
||||
|
||||
NSApplication* app = [NSApplication sharedApplication];
|
||||
[NSBundle loadNibNamed: @"scen.menu" owner: app];
|
||||
[NSBundle loadNibNamed: @"scenedit" owner: app];
|
||||
menu_bar_handle = [app mainMenu];
|
||||
|
||||
app_menu = [[menu_bar_handle itemWithTitle: @"BoE Scenario Editor"] submenu];
|
||||
|
Reference in New Issue
Block a user