Fix T16 companion inport warning (#6965)
* Add JumperTX wartning also when reading from radio * Reuse * Reword * Cosmetics * Cosmetics
This commit is contained in:
@@ -333,6 +333,11 @@ bool readEeprom(const QString & filename, ProgressWidget * progress)
|
||||
QMessageBox::critical(progress, CPN_STR_TTL_ERROR, outputStorage.error());
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getCurrentBoard() == Board::BOARD_JUMPER_T16 && inputStorage.getBoard() == Board::BOARD_X10) {
|
||||
if (displayT16ImportWarning() == false)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (IS_ARM(board)) {
|
||||
|
||||
Reference in New Issue
Block a user