Kaynağa Gözat

Fixes small LinkCreationPanel Bug(not updating importedLink)

Andreas T. Meyer-Berg 6 yıl önce
ebeveyn
işleme
86fc4f6f31

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

@@ -153,6 +153,7 @@ public class LinkCreationPanel extends JScrollPane{
 						controller.removeLink(newLink);
 						controller.addLink(importedLink);
 					}
+					newLink = importedLink;
 					lastIndex = cmbLinkType.getSelectedIndex();
 				}
 			}