Fixed serverlist to ignore invalid settings when loading

This commit is contained in:
TheSumm
2015-07-17 11:22:31 +02:00
parent 0ecf2229e6
commit b822e92c0e
2 changed files with 11 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ function AddServer.add()
local added, error = ServerList.add(host, port, protocol)
if not added then
displayErrorBox(tr('Add Error'), tr(error))
displayErrorBox(tr('Error'), tr(error))
else
AddServer.hide()
end