qml: handle importChannelBackupFailed in WalletMainView
error was not being shown when scanning/pasting channel backup from Send screen
This commit is contained in:
@@ -312,6 +312,10 @@ Item {
|
|||||||
})
|
})
|
||||||
dialog.open()
|
dialog.open()
|
||||||
}
|
}
|
||||||
|
function onImportChannelBackupFailed(message) {
|
||||||
|
var dialog = app.messageDialog.createObject(app, { title: qsTr('Error'), text: message })
|
||||||
|
dialog.open()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
|
|||||||
Reference in New Issue
Block a user