Android "Back" button handling
This commit is contained in:
parent
cadcd5ddcf
commit
5b256bbeec
4 changed files with 18 additions and 4 deletions
|
@ -28,7 +28,11 @@ Rectangle {
|
|||
|
||||
color: Constants.colors.dialogBackground
|
||||
|
||||
Component.onCompleted: pgst.dialogsVisible = pgst.dialogsVisible + 1;
|
||||
Component.onCompleted: {
|
||||
pgst.dialogsVisible = pgst.dialogsVisible + 1;
|
||||
pgst.topOfStackChanged();
|
||||
}
|
||||
|
||||
Component.onDestruction: pgst.dialogsVisible = pgst.dialogsVisible - 1;
|
||||
|
||||
default property alias children: contents.children
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue