mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
This commit is contained in:
parent
c3ac836fa9
commit
72181e70a1
@ -148,7 +148,7 @@ export default function QueryTab({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleKeyDown = (data, hash, keyString, keyCode, event) => {
|
const handleKeyDown = (data, hash, keyString, keyCode, event) => {
|
||||||
if (keyCode == keycodes.f5) {
|
if (keyCode == keycodes.f5 || (keyCode == keycodes.enter && event.ctrlKey)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
handleExecute();
|
handleExecute();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user