Merge pull request #672 from lbutler/dev-gpv-control-fix

Fix for GPV controls in EN_saveinpfile

Thank you @lbutler , for GPV the setting golds the head curve index.
This commit is contained in:
Elad Salomons
2022-04-05 07:27:54 +03:00
committed by GitHub

View File

@@ -425,7 +425,7 @@ int saveinpfile(Project *pr, const char *fname)
link = &net->Link[j];
// Get text of control's link status/setting
if (control->Setting == MISSING)
if (control->Setting == MISSING || link->Type == GPV)
{
sprintf(s, " LINK %s %s ", link->ID, StatTxt[control->Status]);
}