Mercurial > 510Connectbot
changeset 194:1b3f25b6117f
read deployment.connections on startup for global preferences also
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 02 Jul 2014 18:09:55 -0700 |
parents | 8f0cdfc63378 |
children | e98ac723383f |
files | src/com/five_ten_sg/connectbot/HostListActivity.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jul 02 18:08:23 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jul 02 18:09:55 2014 -0700 @@ -460,19 +460,19 @@ Char stype = types.get(key)[0]; switch (stype) { case 'b': - editor.putBoolean(values.getAsBoolean(key)); + editor.putBoolean(key, values.getAsBoolean(key)); break; case 'i': - editor.putInteger(values.getAsInteger(key)); + editor.putInteger(key, values.getAsInteger(key)); break; case 'f': - editor.putFloat(values.getAsFloat(key)); + editor.putFloat(key, values.getAsFloat(key)); break; case 's': - editor.putString(values.getAsString(key)); + editor.putString(key, values.getAsString(key)); break; } }