minor ui fixes

This commit is contained in:
vladimir.kuznetsov 2023-08-22 14:37:29 +05:00
parent 420c616e9d
commit f7926847ac
11 changed files with 50 additions and 34 deletions

View file

@ -19,9 +19,19 @@ DrawerType {
property alias configContentHeaderText: configContentHeader.headerText
property alias contentVisible: content.visible
property string configExtension: ".vpn"
property string configCaption: qsTr("Save AmneziaVPN config")
property string configFileName: "amnezia_config.vpn"
width: parent.width
height: parent.height * 0.9
onClosed: {
configExtension = ".vpn"
configCaption = qsTr("Save AmneziaVPN config")
configFileName = "amnezia_config.vpn"
}
Item {
anchors.fill: parent
@ -58,7 +68,7 @@ DrawerType {
imageSource: "qrc:/images/controls/share-2.svg"
onClicked: {
ExportController.saveFile()
ExportController.saveFile(configExtension, configCaption, configFileName)
}
}