display stored address in ui
This commit is contained in:
parent
71f50b832e
commit
b2a84db5a7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue