Add save and revert button to datagrid no implicit saves any more.

This commit is contained in:
eelke 2026-10-18 11:34:00 +02:00
parent 66267334c8
commit ee1a8ba48d
9 changed files with 153 additions and 12 deletions

View file

@ -0,0 +1,13 @@
---
features:
- |
Data grids in the table editor and in query results now have a toolbar
with :menuselection:`Save` and :menuselection:`Revert` buttons, Save can
also be triggered with :kbd:`Ctrl+S`. Both buttons are only enabled while
there are unsaved changes.
other:
- |
Edits in data grids are no longer saved automatically when a cell editor
is closed or when :kbd:`Escape` is pressed. Use the :menuselection:`Save`
button to write changes to the database, or :menuselection:`Revert` to
discard them. Refreshing a table with unsaved changes asks for confirmation.