diff --git a/EWItool2/src/ewitool/PortsItemEventHandler.java b/EWItool2/src/ewitool/PortsItemEventHandler.java index bdd8f61..4cc7d6a 100644 --- a/EWItool2/src/ewitool/PortsItemEventHandler.java +++ b/EWItool2/src/ewitool/PortsItemEventHandler.java @@ -78,15 +78,13 @@ public void handle( ActionEvent arg0 ) { if (device.getMaxReceivers() != 0) { opIx++; outPorts.add( infos[d].getName() ); - if (infos[d].getName().equals( lastOutDevice )) - outView.getSelectionModel().clearAndSelect( opIx ); - //Debugger.log( "Debug - OUT Port: " + infos[d].getName()); + if (infos[d].getName().equals( lastOutDevice )) outView.getSelectionModel().clearAndSelect( opIx ); + Debugger.log( "DEBUG - Found OUT Port: " + infos[d].getName() + " - " + infos[d].getDescription() ); } else if (device.getMaxTransmitters() != 0) { ipIx++; inPorts.add( infos[d].getName() ); - if (infos[d].getName().equals( lastInDevice )) - inView.getSelectionModel().clearAndSelect( ipIx ); - //Debugger.log( "Debug - IN Port: " + infos[d].getName() ); + if (infos[d].getName().equals( lastInDevice )) inView.getSelectionModel().clearAndSelect( ipIx ); + Debugger.log( "DEBUG - Found IN Port: " + infos[d].getName() + " - " + infos[d].getDescription() ); } }