diff --git a/src/qml/danbooruimageview.qml b/src/qml/danbooruimageview.qml index c8dfad1..63e7bb9 100644 --- a/src/qml/danbooruimageview.qml +++ b/src/qml/danbooruimageview.qml @@ -32,6 +32,8 @@ Rectangle { width: 500 height: 500 + property bool poolMode: false; + KRun { id: runner @@ -202,8 +204,8 @@ Rectangle { Component.onCompleted: { currentIndex = -1; forceActiveFocus()} onAtYEndChanged: { - if (grid.atYEnd) { - danbooruService.nextPostPage() + if (grid.atYEnd && danbooruModel.rowCount > 0 && !rootObj.poolMode) { + danbooruService.nextPostPage() } }