summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-09-01 19:43:42 +0000
committerfrosch <frosch@openttd.org>2012-09-01 19:43:42 +0000
commit4512a4f2257240653cd8d9ad0d7845be604e5443 (patch)
treecdfe87b27307772f10a3ee8dc9b240499e0b1969
parent6bc5d57fdd5995a0490c69609e223b15840b7f37 (diff)
downloadopenttd-4512a4f2257240653cd8d9ad0d7845be604e5443.tar.xz
(svn r24507) -Fix [FS#5285]: The mousewheel did not work in the build waypoint window. (sbr)
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index d038af4df..def4ec9e8 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1775,7 +1775,7 @@ static const NWidgetPart _nested_build_waypoint_widgets[] = {
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_MATRIX, COLOUR_DARK_GREEN, WID_BRW_WAYPOINT_MATRIX), SetPIP(3, 2, 3), SetScrollbar(WID_BRW_SCROLL),
- NWidget(WWT_PANEL, COLOUR_DARK_GREEN, WID_BRW_WAYPOINT), SetMinimalSize(66, 60), SetDataTip(0x0, STR_WAYPOINT_GRAPHICS_TOOLTIP), EndContainer(),
+ NWidget(WWT_PANEL, COLOUR_DARK_GREEN, WID_BRW_WAYPOINT), SetMinimalSize(66, 60), SetDataTip(0x0, STR_WAYPOINT_GRAPHICS_TOOLTIP), SetScrollbar(WID_BRW_SCROLL), EndContainer(),
EndContainer(),
NWidget(NWID_VERTICAL),
NWidget(NWID_VSCROLLBAR, COLOUR_DARK_GREEN, WID_BRW_SCROLL),