Disable port selection when connected
This commit is contained in:
parent
19d4d2c426
commit
77de12fb39
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ const Settings: React.FC<Proptypes> = () => {
|
|||
onMenuOpen={() => { fetchPorts(); }}
|
||||
onChange={(_, option) => { handlePortChange(option); }}
|
||||
selectedKey={selector.serialConnection.port}
|
||||
disabled={selector.serialConnection.status.connected}
|
||||
/>
|
||||
|
||||
<DialogFooter>
|
||||
|
|
Reference in a new issue