Corrected "loading" property for the page widget

This commit is contained in:
Slava Monich 2015-07-03 17:24:59 +03:00
parent 752c8b1dd7
commit 758e91dd6c

View file

@ -363,7 +363,7 @@ void BooksPageWidget::paint(QPainter* aPainter)
bool BooksPageWidget::loading() const bool BooksPageWidget::loading() const
{ {
return iPage >= 0 && iResetTask && iRenderTask; return iPage >= 0 && (iResetTask || iRenderTask);
} }
void BooksPageWidget::resetView() void BooksPageWidget::resetView()