Fix Issue 4057 for X9E also. (#4066)

This commit is contained in:
Jim Taylor
2016-11-22 18:19:40 +01:00
committed by Bertrand Songis
parent bda86d6e6a
commit 324addba2c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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("x9d"))
if (g.profile[g.id()].fwType().contains("x9"))
width = SPLASHX9D_WIDTH;
ui->imageLabel->setPixmap( makePixMap( image, g.profile[g.id()].fwType()));