-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10
-
None
(Context is the patch at https://codereview.qt-project.org/c/qt/qtdoc/+/665705/10)
In the thermostat example, the schedule view silently discards changes when switching the room or date.
We might want to change the behavior to auto-save or to display a dialog asking if the current changes should be saved or discarded.
Also, the cancel button does not discard any changes in the database, it only sets all values in the UI to 0. I think it should actually re-read the values from the database if there is already a database entry for the current room and date.