diff src/depot_gui.cpp @ 16744:577cabe45b26 draft

(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
author rubidium <rubidium@openttd.org>
date Sun, 12 Dec 2010 14:14:26 +0000
parents b8bcbaa95eda
children 37b5683941fa
line wrap: on
line diff
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -835,7 +835,7 @@
 		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;
 	}