Don't warn when using a page without toolbar
Check if the tools are null before before using the toolbar. REVIEW: 105803
This commit is contained in:
parent
4a1fa1a491
commit
8cdf691438
@ -117,11 +117,13 @@ Item{
|
||||
}
|
||||
containerA.current = !containerA.current
|
||||
|
||||
if(tools) {
|
||||
tools.parent = newContainer
|
||||
tools.visible = true
|
||||
tools.anchors.left = newContainer.left
|
||||
tools.anchors.right = newContainer.right
|
||||
tools.anchors.verticalCenter = newContainer.verticalCenter
|
||||
}
|
||||
|
||||
switch (transition) {
|
||||
case "push":
|
||||
|
Loading…
x
Reference in New Issue
Block a user