Add "Act" switch to companion (fix #6851) (#6854)

This commit is contained in:
Andre Bernet
2019-09-30 17:56:12 +02:00
committed by Bertrand Songis
parent af5f3586f2
commit 4f614850c4
4 changed files with 10 additions and 0 deletions
+3
View File
@@ -115,6 +115,9 @@ QString RawSwitch::toString(Board::Type board, const GeneralSettings * const gen
case SWITCH_TYPE_ONE:
return tr("One");
case SWITCH_TYPE_ACT:
return tr("Act");
case SWITCH_TYPE_FLIGHT_MODE:
if (modelData)
return modelData->flightModeData[index-1].nameToString(index - 1);