mirror of
https://github.com/dbgate/dbgate
synced 2024-11-15 08:16:28 +00:00
refresh with ctrl+r #303
This commit is contained in:
parent
2c7da1d3f8
commit
08b7b1870c
@ -5,7 +5,7 @@
|
|||||||
id: 'dataGrid.refresh',
|
id: 'dataGrid.refresh',
|
||||||
category: 'Data grid',
|
category: 'Data grid',
|
||||||
name: 'Refresh',
|
name: 'Refresh',
|
||||||
keyText: 'F5',
|
keyText: 'F5 | CtrlOrCommand+R',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
isRelatedToTab: true,
|
isRelatedToTab: true,
|
||||||
icon: 'icon reload',
|
icon: 'icon reload',
|
||||||
@ -17,7 +17,7 @@
|
|||||||
id: 'dataGrid.revertRowChanges',
|
id: 'dataGrid.revertRowChanges',
|
||||||
category: 'Data grid',
|
category: 'Data grid',
|
||||||
name: 'Revert row changes',
|
name: 'Revert row changes',
|
||||||
keyText: 'CtrlOrCommand+R',
|
keyText: 'CtrlOrCommand+U',
|
||||||
testEnabled: () => getCurrentDataGrid()?.getGrider()?.containsChanges,
|
testEnabled: () => getCurrentDataGrid()?.getGrider()?.containsChanges,
|
||||||
onClick: () => getCurrentDataGrid().revertRowChanges(),
|
onClick: () => getCurrentDataGrid().revertRowChanges(),
|
||||||
});
|
});
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
id: 'dataForm.refresh',
|
id: 'dataForm.refresh',
|
||||||
category: 'Data form',
|
category: 'Data form',
|
||||||
name: 'Refresh',
|
name: 'Refresh',
|
||||||
keyText: 'F5',
|
keyText: 'F5 | CtrlOrCommand+R',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
isRelatedToTab: true,
|
isRelatedToTab: true,
|
||||||
icon: 'icon reload',
|
icon: 'icon reload',
|
||||||
@ -38,7 +38,7 @@
|
|||||||
id: 'dataForm.revertRowChanges',
|
id: 'dataForm.revertRowChanges',
|
||||||
category: 'Data form',
|
category: 'Data form',
|
||||||
name: 'Revert row changes',
|
name: 'Revert row changes',
|
||||||
keyText: 'CtrlOrCommand+R',
|
keyText: 'CtrlOrCommand+U',
|
||||||
testEnabled: () => getCurrentDataForm()?.getFormer()?.containsChanges,
|
testEnabled: () => getCurrentDataForm()?.getFormer()?.containsChanges,
|
||||||
onClick: () => getCurrentDataForm().getFormer().revertRowChanges(),
|
onClick: () => getCurrentDataForm().getFormer().revertRowChanges(),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user