Fix thr trim typo

This commit is contained in:
Daniel
2020-12-07 09:41:04 +00:00
parent b52a921c59
commit 4c39aa115c
+1 -1
View File
@@ -1377,7 +1377,7 @@ void SetupPanel::populateThrottleTrimSwitchCB()
int idx=0;
for (int i=0; i<getBoardCapability(board, Board::NumTrims); i++, idx++) {
QString trim = RawSource(SOURCE_TYPE_TRIM, i).toString(model, &generalSettings);
trim = (trim == "TrmR") ? "TrmT" : (trim == "TmrT") ? "TmrR" : trim;
trim = (trim == "TrmR") ? "TrmT" : (trim == "TrmT") ? "TrmR" : trim;
ui->throttleTrimSwitch->addItem(trim, idx);
}