fix pageParent being null the first time
This commit is contained in:
parent
8f6eb3cc7f
commit
0b28d4cc40
@ -295,6 +295,12 @@ Item {
|
||||
// Performs a push enter transition.
|
||||
function pushEnter(immediate, orientationChanges)
|
||||
{
|
||||
//FIXME: why the first time pageParent is null?
|
||||
if (container.pageParent === null) {
|
||||
container.pageParent = container
|
||||
page.parent = container
|
||||
}
|
||||
|
||||
if (!immediate) {
|
||||
if (orientationChanges)
|
||||
setState("LandscapeRight");
|
||||
|
Loading…
x
Reference in New Issue
Block a user