Fixed issues in the Preferences:

1) Show a single note in the binary path.
  2) Resolved issue in the keyboard shortcut.

refs #7149
This commit is contained in:
Nikhil Mohite
2022-03-29 16:27:33 +05:30
committed by Akshay Joshi
parent 02e799c917
commit 931a399890
3 changed files with 13 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ export default function KeyboardShortcuts({ value, onChange, fields }) {
const onCtrlChange = (e) => {
let newVal = { ...value };
newVal.ctrl = e.target.checked;
newVal.control = e.target.checked;
onChange(newVal);
};
@@ -105,7 +105,7 @@ export default function KeyboardShortcuts({ value, onChange, fields }) {
} else if (element.name == 'control') {
return <Grid item lg={2} md={2} sm={2} xs={12} className={classes.inputLabel} key={_.uniqueId('c')}>
<Box className={classes.inputCheckboxClass}>
<InputCheckbox id={ctrlCid} helpid={ctrlhelpid} value={value?.ctrl}
<InputCheckbox id={ctrlCid} helpid={ctrlhelpid} value={value?.control}
controlProps={ctrlProps}
onChange={onCtrlChange}></InputCheckbox>
</Box>