refresh with ctrl+r #303

This commit is contained in:
Jan Prochazka 2022-06-30 07:40:36 +02:00
parent 2c7da1d3f8
commit 08b7b1870c
2 changed files with 4 additions and 4 deletions

View File

@ -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(),
});

View File

@ -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(),
});