From b2a84db5a715da98dbb9d6b91dcebeace5ee0891 Mon Sep 17 00:00:00 2001 From: localhorst Date: Fri, 7 Jun 2019 10:00:03 +0200 Subject: [PATCH] display stored address in ui --- .../kotlin/org/hso/texturesyncclient/controller/Controller.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt index 4b2fac5..4bc6fe3 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt @@ -92,6 +92,7 @@ class RootController : Controller() { if (SettingsController.serverAddressIsSet()) { println("[file] try connect with settings file") try { + svc.setServerAddress(SettingsController.getServerAddress()) con = Connection(InetAddress.getByName(SettingsController.getServerAddress())) con.ping() println("[file] Connection to Server successful")