|
@@ -102,17 +102,6 @@ SettingItem
|
|
|
|
|
|
TextInput
|
|
|
{
|
|
|
- Timer
|
|
|
- {
|
|
|
- id: inputTimer
|
|
|
- interval: 1000
|
|
|
- running: false
|
|
|
- repeat: false
|
|
|
- onTriggered: {
|
|
|
- propertyProvider.setPropertyValue("value", input.text)
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
id: input
|
|
|
|
|
|
anchors
|
|
@@ -142,7 +131,15 @@ SettingItem
|
|
|
}
|
|
|
if (textHasChanged)
|
|
|
{
|
|
|
- inputTimer.restart()
|
|
|
+ propertyProvider.setPropertyValue("value", text)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ onEditingFinished:
|
|
|
+ {
|
|
|
+ if (textHasChanged)
|
|
|
+ {
|
|
|
+ propertyProvider.setPropertyValue("value", text)
|
|
|
}
|
|
|
}
|
|
|
|