diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index c9aa0563..2089d551 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -2170,7 +2170,7 @@ void LibraryWindow::showNoSearchResultsView() //TODO recover the current comics selection and restore it in the destination void LibraryWindow::toggleComicsView() { - if(comicsViewStack->currentWidget()!=emptyFolderWidget) { + if(comicsViewStack->currentWidget()==comicsView) { QTimer::singleShot(0,this,SLOT(showComicsViewTransition())); QTimer::singleShot(32,this,SLOT(toggleComicsView_delayed())); } else