Quellcode durchsuchen

Fixes LinkCreationPanel reseting LinkType in the comboBox

Andreas T. Meyer-Berg vor 6 Jahren
Ursprung
Commit
c29c1c5a6f

+ 0 - 1
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/popups/LinkCreationPanel.java

@@ -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);