Skip to content

Commit

Permalink
fix fetch up in library grid
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Feb 20, 2022
1 parent 3fc54ce commit d47d6ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/controls2_509/Library.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion gui/controls2_515/Library.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d47d6ff

Please sign in to comment.