[vlc-commits] [Git][videolan/vlc][master] qml: do not change selection within `resetFocus()` in `MusicArtist`
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jul 29 15:33:43 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
204e77dc by Leon Vitanos at 2026-07-29T14:43:51+00:00
qml: do not change selection within `resetFocus()` in `MusicArtist`
- - - - -
1 changed file:
- modules/gui/qt/medialibrary/qml/MusicArtist.qml
Changes:
=====================================
modules/gui/qt/medialibrary/qml/MusicArtist.qml
=====================================
@@ -19,7 +19,6 @@ import QtQuick
import QtQuick.Controls
import QtQuick.Templates as T
import QtQuick.Window
-import QtQml.Models
import QtQuick.Layouts
import VLC.MediaLibrary
@@ -454,7 +453,6 @@ FocusScope {
let initialIndex = root.initialIndex
if (initialIndex >= albumModel.count)
initialIndex = 0
- albumSelectionModel.select(initialIndex, ItemSelectionModel.ClearAndSelect)
const albumsListView = MainCtx.gridView ? _currentView : _currentView?.preferredHeaderItem?.albumsListView
if (albumsListView) {
albumsListView.currentIndex = initialIndex
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/204e77dc583b4be7e9f5fbc3a5e8743b0e381d02
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/204e77dc583b4be7e9f5fbc3a5e8743b0e381d02
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list