From 1d90bf9230d3b7825a8afb132f97067becf56b0a Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 6 Oct 2020 21:39:01 -0500 Subject: [PATCH] Trim spaces from the provided IP address or hostname --- app/gui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gui/main.qml b/app/gui/main.qml index 2025985d..12d73066 100644 --- a/app/gui/main.qml +++ b/app/gui/main.qml @@ -465,7 +465,7 @@ ApplicationWindow { onAccepted: { if (editText.text) { - ComputerManager.addNewHost(editText.text, false) + ComputerManager.addNewHost(editText.text.trim(), false) } }