display stored address in ui
This commit is contained in:
parent
71f50b832e
commit
b2a84db5a7
@ -92,6 +92,7 @@ class RootController : Controller() {
|
|||||||
if (SettingsController.serverAddressIsSet()) {
|
if (SettingsController.serverAddressIsSet()) {
|
||||||
println("[file] try connect with settings file")
|
println("[file] try connect with settings file")
|
||||||
try {
|
try {
|
||||||
|
svc.setServerAddress(SettingsController.getServerAddress())
|
||||||
con = Connection(InetAddress.getByName(SettingsController.getServerAddress()))
|
con = Connection(InetAddress.getByName(SettingsController.getServerAddress()))
|
||||||
con.ping()
|
con.ping()
|
||||||
println("[file] Connection to Server successful")
|
println("[file] Connection to Server successful")
|
||||||
|
Loading…
Reference in New Issue
Block a user