clarify parameters
This commit is contained in:
parent
0086c20529
commit
1559c72618
3 changed files with 6 additions and 6 deletions
|
@ -131,8 +131,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function changeImage(image) {
|
||||
let img = imageProxyModel.getImage(image);
|
||||
function changeImage(index) {
|
||||
let img = imageProxyModel.getImage(index);
|
||||
root.image = img;
|
||||
console.log(img.filePath.toString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue