diff --git a/launcher/modManager/cmodlistview_moc.cpp b/launcher/modManager/cmodlistview_moc.cpp index 8f6aef347..0fa415c5e 100644 --- a/launcher/modManager/cmodlistview_moc.cpp +++ b/launcher/modManager/cmodlistview_moc.cpp @@ -962,7 +962,7 @@ void CModListView::loadScreenshots() { if(ui->tabWidget->currentIndex() == 2) { - if(ui->allModsView->currentIndex().row() == -1 || ui->allModsView->currentIndex().column() == -1) + if(!ui->allModsView->currentIndex().isValid()) { // select the first mod, so we can access its data ui->allModsView->setCurrentIndex(filterModel->index(0, 0));