From 99671fbcefecd1cc5c9126fa3ba668d1e0aef039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 22 Nov 2014 10:01:44 +0100 Subject: [PATCH] fixed toogleComicsView --- YACReaderLibrary/library_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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