1
0

qml: refactor OpenChannel to dialog, fix lifecycle/race conditions swap & openchannel

This commit is contained in:
Sander van Grieken
2022-11-30 15:10:35 +01:00
parent 56e37f74d4
commit ffcd533a8d
6 changed files with 253 additions and 224 deletions

View File

@@ -11,7 +11,7 @@ ElDialog {
property bool valid: false
standardButtons: Dialog.Close
standardButtons: Dialog.Cancel
modal: true
parent: Overlay.overlay
Overlay.modal: Rectangle {
@@ -23,6 +23,7 @@ ElDialog {
padding: 0
title: qsTr('Import channel backup')
iconSource: Qt.resolvedUrl('../../icons/file.png')
function verifyChannelBackup(text) {
return valid = Daemon.currentWallet.isValidChannelBackup(text)