fixed toogleComicsView

This commit is contained in:
Luis Ángel San Martín
2014-11-22 10:01:44 +01:00
parent a6210d6eee
commit 99671fbcef

View File

@ -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