(svn r25377) -Feature: timetable spreading of vehicles by Ctrl+Click when setting a start date

This commit is contained in:
rubidium
2013-06-09 13:55:33 +00:00
parent a724a9924b
commit a2af1f69af
4 changed files with 79 additions and 8 deletions

View File

@@ -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;
}