From a2af1f69afd1971f062ca2ce4047496ed0dbf320 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 9 Jun 2013 13:55:33 +0000 Subject: (svn r25377) -Feature: timetable spreading of vehicles by Ctrl+Click when setting a start date --- src/date_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/date_gui.cpp') diff --git a/src/date_gui.cpp b/src/date_gui.cpp index 1287c4463..2866d175e 100644 --- a/src/date_gui.cpp +++ b/src/date_gui.cpp @@ -146,7 +146,7 @@ struct SetDateWindow : Window { break; case WID_SD_SET_DATE: - if (this->callback != NULL) this->callback(this->parent, ConvertYMDToDate(this->date.year, this->date.month, this->date.day)); + if (this->callback != NULL) this->callback(this, ConvertYMDToDate(this->date.year, this->date.month, this->date.day)); delete this; break; } -- cgit v1.2.3-54-g00ecf