qml: don't show "select server automatically" checkbox in network setup wizard
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
|
||||
@@ -15,10 +15,6 @@ WizardComponent {
|
||||
width: parent.width
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Proxy settings')
|
||||
}
|
||||
|
||||
ProxyConfig {
|
||||
id: pc
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -9,7 +9,7 @@ WizardComponent {
|
||||
last: true
|
||||
|
||||
function apply() {
|
||||
wizard_data['autoconnect'] = sc.auto_connect
|
||||
wizard_data['autoconnect'] = false
|
||||
wizard_data['server'] = sc.address
|
||||
}
|
||||
|
||||
@@ -17,13 +17,10 @@ WizardComponent {
|
||||
anchors.fill: parent
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Server settings')
|
||||
}
|
||||
|
||||
ServerConfig {
|
||||
id: sc
|
||||
width: parent.width
|
||||
showAutoselectServer: false
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user