1
0

qml: show channel backup and explanatory message before local force close, and let user confirm before doing the close operation

also show message dialog after close succeeded instead of just closing the channel close dialog
This commit is contained in:
Sander van Grieken
2023-07-04 10:55:00 +02:00
parent d65aa3369f
commit 5f8b8ce97e
3 changed files with 70 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ ElDialog {
property string text_qr
// if text_qr is undefined text will be used
property string text_help
property int helpTextIconStyle: InfoTextArea.IconStyle.Info
title: ''
@@ -65,6 +66,7 @@ ElDialog {
InfoTextArea {
Layout.leftMargin: constants.paddingMedium
Layout.rightMargin: constants.paddingMedium
iconStyle: helpTextIconStyle
visible: dialog.text_help
text: dialog.text_help
Layout.fillWidth: true