|
@@ -142,7 +142,6 @@ public class LinkCreationPanel extends JScrollPane{
|
|
|
.println("WARNING: Invalid Protocol Selected - restore last index");
|
|
|
}else {
|
|
|
importedLink.setName(newLink.getName());
|
|
|
- cmbLinkType.setSelectedIndex(lastIndex);
|
|
|
for(SmartDevice device:devices){
|
|
|
if(newLink.getDevices().contains(device)){
|
|
|
controller.removeLinkFromDevice(newLink, device);
|