Changeset 175 in tmcsimulator-scriptbuilder for trunk/src


Ignore:
Timestamp:
12/21/2019 08:34:34 AM (6 years ago)
Author:
sdanthin
Message:

CHPRadioEvent.java added an overriding function to remove a corresponding audioEvent from the data model when its sister CHPRadioEvent is removed as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/structures/events/CHPRadioEvent.java

    r167 r175  
    9090     
    9191    @Override 
     92    public void removeThis() 
     93    { 
     94        this.slice.events.remove(this); 
     95        //removes the correct AudioEvent when this CHPRadioEvent is removed 
     96        this.slice.removeCorrespondingAudioEvent(this); 
     97        this.slice.checkEmpty(); 
     98    } 
     99     
     100    @Override 
    92101    public String toXML() 
    93102    { 
Note: See TracChangeset for help on using the changeset viewer.