Index: sources/gui/qml/pages/settings/SettingsDateTime.qml =================================================================== diff -u -r86df7ff03ea32f9cd8a18bbbc7b2e01de64c783f -r36c82a88dbd6b4fb71528465684d51c6fbff584f --- sources/gui/qml/pages/settings/SettingsDateTime.qml (.../SettingsDateTime.qml) (revision 86df7ff03ea32f9cd8a18bbbc7b2e01de64c783f) +++ sources/gui/qml/pages/settings/SettingsDateTime.qml (.../SettingsDateTime.qml) (revision 36c82a88dbd6b4fb71528465684d51c6fbff584f) @@ -55,14 +55,20 @@ _ntpSwitch.checked ) } - onVisibleChanged: { // it seems entering in the TextInput by keyboard breaks the binding + onVisibleChanged: refreshDateTime() // it seems entering in the TextInput by keyboard breaks the binding + + function refreshDateTime() { _year .textInput.text = vDateTime.year _month .textInput.text = vDateTime.month _day .textInput.text = vDateTime.day _hours .textInput.text = vDateTime.hour _minutes.textInput.text = vDateTime.minute } + Connections { target: vDateTime + function onDidRefreshUIFields ( ) { refreshDateTime() } + } + contentItem: Column { id: _container spacing : 25