diff --git a/packages/web/src/datagrid/DataGridCore.svelte b/packages/web/src/datagrid/DataGridCore.svelte index a607a8e8..bf3bcae8 100644 --- a/packages/web/src/datagrid/DataGridCore.svelte +++ b/packages/web/src/datagrid/DataGridCore.svelte @@ -5,7 +5,7 @@ id: 'dataGrid.refresh', category: 'Data grid', name: 'Refresh', - keyText: 'F5', + keyText: 'F5 | CtrlOrCommand+R', toolbar: true, isRelatedToTab: true, icon: 'icon reload', @@ -17,7 +17,7 @@ id: 'dataGrid.revertRowChanges', category: 'Data grid', name: 'Revert row changes', - keyText: 'CtrlOrCommand+R', + keyText: 'CtrlOrCommand+U', testEnabled: () => getCurrentDataGrid()?.getGrider()?.containsChanges, onClick: () => getCurrentDataGrid().revertRowChanges(), }); diff --git a/packages/web/src/formview/FormView.svelte b/packages/web/src/formview/FormView.svelte index 06a00b3d..294ee96a 100644 --- a/packages/web/src/formview/FormView.svelte +++ b/packages/web/src/formview/FormView.svelte @@ -16,7 +16,7 @@ id: 'dataForm.refresh', category: 'Data form', name: 'Refresh', - keyText: 'F5', + keyText: 'F5 | CtrlOrCommand+R', toolbar: true, isRelatedToTab: true, icon: 'icon reload', @@ -38,7 +38,7 @@ id: 'dataForm.revertRowChanges', category: 'Data form', name: 'Revert row changes', - keyText: 'CtrlOrCommand+R', + keyText: 'CtrlOrCommand+U', testEnabled: () => getCurrentDataForm()?.getFormer()?.containsChanges, onClick: () => getCurrentDataForm().getFormer().revertRowChanges(), });