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:
parent
06e156b01c
commit
01476d5c4e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user