Add setting description help text for extra asymmetric linkgraph modes

See also: #321
This commit is contained in:
Jonathan G Rennison
2021-09-29 19:34:36 +01:00
parent 47156122fa
commit db11c1d927
3 changed files with 21 additions and 1 deletions

View File

@@ -1881,6 +1881,19 @@ static int64 LinkGraphDistModeXrefChillPP(int64 val)
/* Begin - GUI callbacks */
static bool LinkGraphDistributionSettingGUI(SettingOnGuiCtrlData &data)
{
switch (data.type) {
case SOGCT_DESCRIPTION_TEXT:
SetDParam(0, data.text);
data.text = STR_CONFIG_SETTING_DISTRIBUTION_HELPTEXT_EXTRA;
return true;
default:
return false;
}
}
/* End - GUI callbacks */
/**