diff options
Diffstat (limited to 'src/org/connectbot/HostListActivity.java')
-rw-r--r-- | src/org/connectbot/HostListActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/connectbot/HostListActivity.java b/src/org/connectbot/HostListActivity.java index d7b6372..666a9ef 100644 --- a/src/org/connectbot/HostListActivity.java +++ b/src/org/connectbot/HostListActivity.java @@ -357,7 +357,7 @@ public class HostListActivity extends ListActivity { connect.setEnabled((bridge != null)); connect.setOnMenuItemClickListener(new OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem item) { - bridge.dispatchDisconnect(); + bridge.dispatchDisconnect(true); updateHandler.sendEmptyMessage(-1); return true; } @@ -393,7 +393,7 @@ public class HostListActivity extends ListActivity { public void onClick(DialogInterface dialog, int which) { // make sure we disconnect if(bridge != null) - bridge.dispatchDisconnect(); + bridge.dispatchDisconnect(true); hostdb.deleteHost(host); updateHandler.sendEmptyMessage(-1); |