1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00

qml: fix warning

This commit is contained in:
Prince Gupta 2022-04-15 16:27:50 +05:30 committed by Felix Paul Kühne
parent 06e156b01c
commit 01476d5c4e

View File

@ -99,7 +99,7 @@ FocusScope {
} }
function resetFocus() { function resetFocus() {
if (model.count === 0) return if (!model || model.count === 0) return
var initialIndex = root.initialIndex var initialIndex = root.initialIndex