Trim spaces from the provided IP address or hostname

This commit is contained in:
Cameron Gutman committed 2020-10-06 21:39:01 -05:00
1 parent 81943b12c0
commit 1d90bf9230
1 file changed
+1 -1
+1 -1
View File
@@ -465,7 +465,7 @@ ApplicationWindow {
onAccepted: {
if (editText.text) {
ComputerManager.addNewHost(editText.text, false)
ComputerManager.addNewHost(editText.text.trim(), false)
}
}