Fix issue 4957 Taranis splash screens formatted incorrectly. (#4064)
This commit is contained in:
committed by
Bertrand Songis
parent
380b42c57f
commit
bda86d6e6a
@@ -337,7 +337,7 @@ bool AppPreferencesDialog::displayImage( QString fileName )
|
||||
|
||||
// Use the firmware name to determine splash width
|
||||
int width = SPLASH_WIDTH;
|
||||
if (g.profile[g.id()].fwType().contains("taranis"))
|
||||
if (g.profile[g.id()].fwType().contains("x9d"))
|
||||
width = SPLASHX9D_WIDTH;
|
||||
|
||||
ui->imageLabel->setPixmap( makePixMap( image, g.profile[g.id()].fwType()));
|
||||
|
||||
Reference in New Issue
Block a user