Trim spaces from the provided IP address or hostname
This commit is contained in:
parent
81943b12c0
commit
1d90bf9230
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
if (editText.text) {
|
if (editText.text) {
|
||||||
ComputerManager.addNewHost(editText.text, false)
|
ComputerManager.addNewHost(editText.text.trim(), false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue