mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
added importController
This commit is contained in:
@@ -13,6 +13,14 @@ import "../Config"
|
||||
Item {
|
||||
id: root
|
||||
|
||||
Connections {
|
||||
target: ImportController
|
||||
|
||||
function onImportFinished() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FlickableType {
|
||||
id: fl
|
||||
anchors.top: root.top
|
||||
@@ -63,7 +71,7 @@ Item {
|
||||
FileDialog {
|
||||
id: fileDialog
|
||||
onAccepted: {
|
||||
|
||||
ImportController.importFromFile(selectedFile)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -84,6 +92,7 @@ Item {
|
||||
onClickedFunc: function() {
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
@@ -101,6 +110,7 @@ Item {
|
||||
PageController.goToPage(PageEnum.PageSetupWizardTextKey)
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
|
||||
Reference in New Issue
Block a user