Fix reading models from B&W radio

This commit is contained in:
Raphael Coeffic
2021-12-31 10:53:12 +01:00
parent 6cfecb7ddb
commit b097593e73
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -907,7 +907,7 @@ void MainWindow::readSettings()
{
Board::Type board = getCurrentBoard();
QString tempFile;
if (IS_FAMILY_HORUS_OR_T16(board))
if (Boards::getCapability(board, Board::HasSDCard))
tempFile = generateProcessUniqueTempFileName("temp.etx");
else
tempFile = generateProcessUniqueTempFileName("temp.bin");