removed the dropdown with protocols on the share full access page

This commit is contained in:
vladimir.kuznetsov 2023-10-02 22:04:18 +05:00
parent 4e6c1094f3
commit 2664a52007

View file

@ -219,13 +219,14 @@ PageType {
if (accessTypeSelector.currentIndex !== 0) { if (accessTypeSelector.currentIndex !== 0) {
shareConnectionDrawer.headerText = qsTr("Accessing ") + serverSelector.text shareConnectionDrawer.headerText = qsTr("Accessing ") + serverSelector.text
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text shareConnectionDrawer.configContentHeaderText = qsTr("File with accessing settings to ") + serverSelector.text
} }
serverSelector.menuVisible = false serverSelector.menuVisible = false
} }
Component.onCompleted: { Component.onCompleted: {
handler() handler()
serverSelector.severSelectorIndexChanged()
} }
function handler() { function handler() {
@ -240,6 +241,8 @@ PageType {
DropDownType { DropDownType {
id: protocolSelector id: protocolSelector
visible: accessTypeSelector.currentIndex === 0
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 16 Layout.topMargin: 16