mirror of https://code.videolan.org/videolan/vlc
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