Merge pull request #329 from amnezia-vpn/bugfix/text_not_saved_after_edited
fixed additional info can not be save in page OpenVpn settings
This commit is contained in:
commit
ff60030ffb
2 changed files with 16 additions and 15 deletions
|
@ -6,7 +6,8 @@ Rectangle {
|
|||
|
||||
property string placeholderText
|
||||
property string text
|
||||
property var onEditingFinished
|
||||
property alias textArea: textArea
|
||||
property alias textAreaText: textArea.text
|
||||
|
||||
height: 148
|
||||
color: "#1C1D21"
|
||||
|
@ -40,12 +41,6 @@ Rectangle {
|
|||
placeholderText: root.placeholderText
|
||||
text: root.text
|
||||
|
||||
onEditingFinished: {
|
||||
if (root.onEditingFinished && typeof root.onEditingFinished === "function") {
|
||||
root.onEditingFinished()
|
||||
}
|
||||
}
|
||||
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
MouseArea {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue