Dialog: Notify page stack change after closing

See also: https://github.com/gpodder/gpodder-bb10/issues/7
This commit is contained in:
Thomas Perl 2015-03-07 14:29:41 +01:00
parent f7d6d6db15
commit bc8241e99a
2 changed files with 17 additions and 1 deletions

View file

@ -36,7 +36,10 @@ Rectangle {
pgst.topOfStackChanged();
}
Component.onDestruction: pgst.dialogsVisible = pgst.dialogsVisible - 1;
Component.onDestruction: {
pgst.dialogsVisible = pgst.dialogsVisible - 1;
pgst.onDialogDismissed(page);
}
default property alias children: contents.children
property bool isDialog: true