Trim spaces from the provided IP address or hostname

This commit is contained in:
Cameron Gutman 2020-10-06 21:39:01 -05:00
parent 81943b12c0
commit 1d90bf9230

View File

@ -465,7 +465,7 @@ ApplicationWindow {
onAccepted: { onAccepted: {
if (editText.text) { if (editText.text) {
ComputerManager.addNewHost(editText.text, false) ComputerManager.addNewHost(editText.text.trim(), false)
} }
} }