mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
limited client name length
This commit is contained in:
@@ -529,7 +529,7 @@ PageType {
|
|||||||
id: clientInfoDrawer
|
id: clientInfoDrawer
|
||||||
|
|
||||||
width: root.width
|
width: root.width
|
||||||
height: root.height * 0.45
|
height: root.height * 0.5
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
@@ -591,6 +591,7 @@ PageType {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
headerText: qsTr("Client name")
|
headerText: qsTr("Client name")
|
||||||
textFieldText: clientName
|
textFieldText: clientName
|
||||||
|
textField.maximumLength: 30
|
||||||
}
|
}
|
||||||
|
|
||||||
BasicButtonType {
|
BasicButtonType {
|
||||||
@@ -641,16 +642,14 @@ PageType {
|
|||||||
questionDrawer.close()
|
questionDrawer.close()
|
||||||
}
|
}
|
||||||
questionDrawer.open()
|
questionDrawer.open()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
QuestionDrawer {
|
QuestionDrawer {
|
||||||
id: questionDrawer
|
id: questionDrawer
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user