diff options
author | rubidium <rubidium@openttd.org> | 2010-12-12 14:14:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-12 14:14:26 +0000 |
commit | a029b2b83aa344fdd8ba1f7bc0915205c52daca0 (patch) | |
tree | 95fc2013ee1d0e8c8ecd5b02ec8b807047922267 /src/depot_gui.cpp | |
parent | 5910bde58367764387e00c76e14d7465be942e7f (diff) | |
download | openttd-a029b2b83aa344fdd8ba1f7bc0915205c52daca0.tar.xz |
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 54ebecdbe..095c41af9 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -835,7 +835,7 @@ struct DepotWindow : Window { uint64 args[2]; args[0] = (whole_chain ? num : v->engine_type); args[1] = (uint64)(size_t)details; - GuiShowTooltips(whole_chain ? STR_DEPOT_VEHICLE_TOOLTIP_CHAIN : STR_DEPOT_VEHICLE_TOOLTIP, 2, args, TCC_RIGHT_CLICK); + GuiShowTooltips(this, whole_chain ? STR_DEPOT_VEHICLE_TOOLTIP_CHAIN : STR_DEPOT_VEHICLE_TOOLTIP, 2, args, TCC_RIGHT_CLICK); return true; } |