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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user