fix drawer open close usage

This commit is contained in:
Cyril Anisimov 2024-10-30 05:58:54 +01:00
parent 88958c042f
commit f020bdb6e8
10 changed files with 17 additions and 17 deletions

View file

@ -148,7 +148,7 @@ PageType {
clickedFunction: function() {
cipherDropDown.text = selectedText
cipher = cipherDropDown.text
cipherDropDown.close()
cipherDropDown.closeTriggered()
}
Component.onCompleted: {

View file

@ -199,7 +199,7 @@ PageType {
clickedFunction: function() {
hashDropDown.text = selectedText
hash = hashDropDown.text
hashDropDown.close()
hashDropDown.closeTriggered()
}
Component.onCompleted: {
@ -248,7 +248,7 @@ PageType {
clickedFunction: function() {
cipherDropDown.text = selectedText
cipher = cipherDropDown.text
cipherDropDown.close()
cipherDropDown.closeTriggered()
}
Component.onCompleted: {

View file

@ -93,7 +93,7 @@ PageType {
text: qsTr("Show connection options")
clickedFunction: function() {
configContentDrawer.open()
configContentDrawer.openTriggered()
}
MouseArea {
@ -125,7 +125,7 @@ PageType {
anchors.topMargin: 16
backButtonFunction: function() {
configContentDrawer.close()
configContentDrawer.closeTriggered()
}
}

View file

@ -133,7 +133,7 @@ PageType {
clickedFunction: function() {
cipherDropDown.text = selectedText
cipher = cipherDropDown.text
cipherDropDown.close()
cipherDropDown.closeTriggered()
}
Component.onCompleted: {

View file

@ -322,7 +322,7 @@ PageType {
tempPort = portTextField.textFieldText
tempUsername = usernameTextField.textFieldText
tempPassword = passwordTextField.textFieldText
changeSettingsDrawer.close()
changeSettingsDrawer.closeTriggered()
}
}
}
@ -341,7 +341,7 @@ PageType {
clickedFunc: function() {
forceActiveFocus()
changeSettingsDrawer.open()
changeSettingsDrawer.openTriggered()
}
}
}

View file

@ -127,7 +127,7 @@ PageType {
clickedFunction: function() {
selector.text = selectedText
selector.close()
selector.closeTriggered()
if (AppSplitTunnelingModel.routeMode !== root.routeModesModel[currentIndex].type) {
AppSplitTunnelingModel.routeMode = root.routeModesModel[currentIndex].type
}
@ -266,7 +266,7 @@ PageType {
AppSplitTunnelingController.addApp(fileName)
}
} else if (Qt.platform.os === "android"){
installedAppDrawer.open()
installedAppDrawer.openTriggered()
}
PageController.showBusyIndicator(false)