(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing max-vehicles settings. (adf88)

This commit is contained in:
frosch
2015-02-22 15:26:27 +00:00
parent 8d04567343
commit 6cb930168f
6 changed files with 51 additions and 6 deletions

View File

@@ -1304,6 +1304,13 @@ static bool StationCatchmentChanged(int32 p1)
return true;
}
static bool MaxVehiclesChanged(int32 p1)
{
InvalidateWindowClassesData(WC_BUILD_TOOLBAR);
MarkWholeScreenDirty();
return true;
}
#ifdef ENABLE_NETWORK