qml: add channel backup option to channel details page
This commit is contained in:
@@ -22,8 +22,17 @@ Pane {
|
||||
icon.color: 'transparent'
|
||||
action: Action {
|
||||
text: qsTr('Backup');
|
||||
enabled: false
|
||||
onTriggered: {}
|
||||
enabled: true
|
||||
onTriggered: {
|
||||
var dialog = app.genericShareDialog.createObject(root,
|
||||
{
|
||||
title: qsTr('Channel Backup for %1').arg(channeldetails.short_cid),
|
||||
text: channeldetails.channelBackup(),
|
||||
text_help: channeldetails.channelBackupHelpText()
|
||||
}
|
||||
)
|
||||
dialog.open()
|
||||
}
|
||||
icon.source: '../../icons/file.png'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user