fixed restore status after clearing the search filter

This commit is contained in:
Luis Ángel San Martín 2014-10-23 21:44:57 +02:00
parent c8af5c696c
commit 5317faacf3

View File

@ -1283,7 +1283,7 @@ void LibraryWindow::loadCovers(const QModelIndex & mi)
if(paths.size()>0) {
comicsView->setCurrentIndex(comicsModel->index(0,0));
if(comicsViewStack->currentWidget() == emptyFolderWidget)
if(comicsViewStack->currentWidget() != comicsView)
comicsViewStack->setCurrentWidget(comicsView);
}
else