From a6f2257600b8818ceff54c4f2b7fee376f11cfe6 Mon Sep 17 00:00:00 2001 From: dominik Date: Mon, 23 Aug 2004 10:59:03 +0000 Subject: (svn r117) Feature: Performance details window in company league menu (TrueLight) --- main_gui.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 9d6c6f5b7..f5eec080b 100644 --- a/main_gui.c +++ b/main_gui.c @@ -202,7 +202,10 @@ void MenuClickGraphs(int index) void MenuClickLeague(int index) { - ShowCompanyLeagueTable(); + switch(index) { + case 0: ShowCompanyLeagueTable(); return; + case 1: ShowPerformanceRatingDetail(); return; + } } void MenuClickIndustry(int index) @@ -648,7 +651,7 @@ static void ToolbarGraphsClick(Window *w) static void ToolbarLeagueClick(Window *w) { - PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 1); + PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 2); } static void ToolbarIndustryClick(Window *w) -- cgit v1.2.3-54-g00ecf