diff --git a/qml/filedialog/parts/PQFileView.qml b/qml/filedialog/parts/PQFileView.qml index b88f9fa5d..5ef95f5d2 100644 --- a/qml/filedialog/parts/PQFileView.qml +++ b/qml/filedialog/parts/PQFileView.qml @@ -891,7 +891,7 @@ GridView { onMousePosChanged: { if(files_grid.currentIndex == -1) return - var pos = files_grid.mapFromGlobal(variables.mousePos) + var pos = files_grid.mapFromGlobal(variables.mousePos.x,variables.mousePos.y) if(pos.x < 0 || pos.x > files_grid.width || pos.y < 0 || pos.y > files_grid.height) files_grid.currentIndex = -1 }