Fixed ip and port field on disconnect

When disconnectbutton is hit, the ip and port field is set to editable