Dialog: Notify page stack change after closing
See also: https://github.com/gpodder/gpodder-bb10/issues/7
This commit is contained in:
parent
f7d6d6db15
commit
bc8241e99a
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue