1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

Stay function added in Companion

This commit is contained in:
Bertrand Songis 2014-02-07 18:24:25 +01:00
parent 9894fda194
commit 55f600a63c
5 changed files with 50 additions and 90 deletions

View file

@ -337,7 +337,9 @@ QString CurveReference::toString()
CSFunctionFamily CustomSwData::getFunctionFamily()
{
if (func == CS_FN_TIMER)
if (func == CS_FN_STAY)
return CS_FAMILY_STAY;
else if (func == CS_FN_TIMER)
return CS_FAMILY_TIMER;
else if (func == CS_FN_STICKY)
return CS_FAMILY_STICKY;