Commit bc994c07 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Do not call a non-existing function

Apparently the function was renamed but the calling code was not, which
broke moving items on a page.

BUG: 433706


(cherry picked from commit 339675bf)
parent 4dc2734a
...@@ -107,7 +107,7 @@ ToolButton { ...@@ -107,7 +107,7 @@ ToolButton {
if (root.page) { if (root.page) {
var sceneRect = root.target.mainControl.mapToItem(null, Qt.rect(0, 0, root.target.mainControl.width, root.target.mainControl.height)) var sceneRect = root.target.mainControl.mapToItem(null, Qt.rect(0, 0, root.target.mainControl.width, root.target.mainControl.height))
root.page.ensureVisible(sceneRect) root.page.scrollContents(sceneRect)
} }
if (child && child != root.target && if (child && child != root.target &&
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment