diff options
| -rw-r--r-- | popups/launcher/components/App.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/popups/launcher/components/App.qml b/popups/launcher/components/App.qml index a44b2ec..492b459 100644 --- a/popups/launcher/components/App.qml +++ b/popups/launcher/components/App.qml @@ -65,7 +65,7 @@ IComponent { } pgup: function () { - if (listView.count === 0) + if (selectedIndex <= 0) return true; const pageSize = Math.floor(listView.height / (General.appIconSize + Launcher.innerMargin * 2)); @@ -77,7 +77,7 @@ IComponent { } pgdn: function () { - if (listView.count === 0) + if (selectedIndex === entries.length - 1) return true; const pageSize = Math.floor(listView.height / (General.appIconSize + Launcher.innerMargin * 2)); if (selectedIndex + pageSize >= listView.count) { |
