feat: implement custom close behavior for Amnezia application on different platforms
This commit is contained in:
parent
4f2d9b4fa9
commit
7aacd15a4c
5 changed files with 30 additions and 26 deletions
|
@ -26,7 +26,8 @@ Window {
|
|||
|
||||
color: AmneziaStyle.color.midnightBlack
|
||||
|
||||
onClosing: function() {
|
||||
onClosing: function(close) {
|
||||
close.accepted = false
|
||||
PageController.closeWindow()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue