summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-08-25 18:28:57 +0000
committertruelight <truelight@openttd.org>2004-08-25 18:28:57 +0000
commit60c5307182d71c7073add5a41899d0d61807fec3 (patch)
tree57153fdf00116b00c28040defd673344dab22cab /graph_gui.c
parentebbfaced672abb14ed174e49008a3ba58a44d778 (diff)
downloadopenttd-60c5307182d71c7073add5a41899d0d61807fec3.tar.xz
(svn r141) -Fix: Company-value was not updated immediatly if legend was changed
(vondel)
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/graph_gui.c b/graph_gui.c
index 119bea8b4..29b9165a0 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -226,6 +226,7 @@ static void GraphLegendWndProc(Window *w, WindowEvent *e)
InvalidateWindow(WC_OPERATING_PROFIT, 0);
InvalidateWindow(WC_DELIVERED_CARGO, 0);
InvalidateWindow(WC_PERFORMANCE_HISTORY, 0);
+ InvalidateWindow(WC_COMPANY_VALUE, 0);
}
break;
}