fix ITx selection issue
This commit is contained in:
		| @@ -725,13 +725,13 @@ public class WaveformView implements IWaveformView  { | ||||
| 							streams.add(trackEntry); | ||||
| 						} | ||||
| 						currentTxSelection = txSel; | ||||
| 						if(trackEntry!=null) { | ||||
| 							currentWaveformSelection.add((TrackEntry)sel); | ||||
| 						} | ||||
| //						if(trackEntry!=null) { | ||||
| //							currentWaveformSelection.add((TrackEntry)sel); | ||||
| //						} | ||||
| 						selectionChanged = true; | ||||
| 					} else if (sel instanceof TrackEntry && !currentWaveformSelection.contains(sel)) { | ||||
| 						currentWaveformSelection.add((TrackEntry)sel); | ||||
| 						if(currentTxSelection!=null) | ||||
| 						if(currentTxSelection!=null && !selectionChanged) | ||||
| 							currentTxSelection=null;						 | ||||
| 						selectionChanged = true; | ||||
| 					}            		 | ||||
|   | ||||
| @@ -21,7 +21,6 @@ import com.google.common.collect.Collections2; | ||||
| import com.minres.scviewer.database.IHierNode; | ||||
| import com.minres.scviewer.database.IWaveform; | ||||
| import com.minres.scviewer.database.IWaveformDb; | ||||
| import com.minres.scviewer.e4.application.parts.LoadingWaveformDb; | ||||
|  | ||||
| /** | ||||
|  * The Class TxDbContentProvider providing the tree content of a database for the respective viewer. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user