UPD?
This commit is contained in:
@@ -38,8 +38,12 @@ Item {
|
||||
}
|
||||
|
||||
function menuLength() {
|
||||
if (root.inBluetoothMenu && bluetoothRepeater)
|
||||
return bluetoothRepeater.count;
|
||||
if (!menuModel)
|
||||
return 0;
|
||||
if (typeof menuModel.count === "function")
|
||||
return menuModel.count();
|
||||
if (menuModel.count !== undefined)
|
||||
return menuModel.count;
|
||||
if (menuModel.length !== undefined)
|
||||
|
||||
Reference in New Issue
Block a user