Use localised units for payment graph X axis

Match quantities in graph title
This commit is contained in:
Jonathan G Rennison
2021-06-13 23:57:14 +01:00
parent f786b372c0
commit f438daa0bc
4 changed files with 43 additions and 8 deletions

View File

@@ -1520,6 +1520,12 @@ static bool ClimateThresholdModeChanged(int32 p1)
return true;
}
static bool VelocityUnitsChanged(int32 p1) {
InvalidateWindowClassesData(WC_PAYMENT_RATES);
MarkWholeScreenDirty();
return true;
}
/** Checks if any settings are set to incorrect values, and sets them to correct values in that case. */
static void ValidateSettings()
{