diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index 49f7ef7c4..17a2efc0b 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -239,7 +239,9 @@ bool GraphicsPage::loadSettings() QString resolution = width + QString(" x ") + height; QString screen = mGraphicsSettings.value(QString("Video/screen")); - screenComboBox->setCurrentIndex(screenComboBox->findText(QString("Screen ") + screen)); + int screenIndex = screenComboBox->findText(QString("Screen ") + screen); + if (screenIndex != -1) + screenComboBox->setCurrentIndex(screenIndex); int resIndex = resolutionComboBox->findText(resolution, Qt::MatchStartsWith);