From d47d6ff4b9ea3087ff49ea6d716af5f6159c85b2 Mon Sep 17 00:00:00 2001 From: janbar Date: Sun, 20 Feb 2022 19:06:45 +0100 Subject: [PATCH] fix fetch up in library grid --- gui/controls2_509/Library.qml | 2 +- gui/controls2_515/Library.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/controls2_509/Library.qml b/gui/controls2_509/Library.qml index 4b461ec6..b3df0ff3 100644 --- a/gui/controls2_509/Library.qml +++ b/gui/controls2_509/Library.qml @@ -438,7 +438,7 @@ MusicPage { onAtYBeginningChanged: { if (visible && fetchEnabled && mediaGrid.atYBeginning && mediaModel.firstIndex > 0) { - if (lmediaModel.fetchFront()) { + if (mediaModel.fetchFront()) { var focusId = mediaModel.firstIndex - 1; mediaGrid.saveViewFocus(focusId, GridView.Beginning); } diff --git a/gui/controls2_515/Library.qml b/gui/controls2_515/Library.qml index 1f991e2c..46cf68b3 100644 --- a/gui/controls2_515/Library.qml +++ b/gui/controls2_515/Library.qml @@ -438,7 +438,7 @@ MusicPage { onAtYBeginningChanged: { if (visible && fetchEnabled && mediaGrid.atYBeginning && mediaModel.firstIndex > 0) { - if (lmediaModel.fetchFront()) { + if (mediaModel.fetchFront()) { var focusId = mediaModel.firstIndex - 1; mediaGrid.saveViewFocus(focusId, GridView.Beginning); }