fix ITx selection issue
This commit is contained in:
parent
796a04b981
commit
61c2102ab7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue