mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
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: {
|
||||
if (editText.text) {
|
||||
ComputerManager.addNewHost(editText.text, false)
|
||||
ComputerManager.addNewHost(editText.text.trim(), false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue