connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/ClientServiceSiteUI2.java
equal
deleted
inserted
replaced
223 else { |
223 else { |
224 viewer.getCombo().setEnabled(true); |
224 viewer.getCombo().setEnabled(true); |
225 if (connection == null) { |
225 if (connection == null) { |
226 String lastConnectionId = Registry.instance().getLastConnectionId(); |
226 String lastConnectionId = Registry.instance().getLastConnectionId(); |
227 if (lastConnectionId != null) { |
227 if (lastConnectionId != null) { |
228 selectConnection(lastConnectionId); |
228 viewer.getCombo().select(0); // the default setting |
|
229 selectConnection(lastConnectionId); // should override if connection still exists |
229 } else { |
230 } else { |
230 viewer.getCombo().select(0); |
231 viewer.getCombo().select(0); |
231 viewer.setSelection(viewer.getSelection()); |
232 viewer.setSelection(viewer.getSelection()); |
232 } |
233 } |
233 } |
234 } |