Changeset 180 in tmcsimulator-scriptbuilder for trunk/src/event/editor/AudioPanel.java


Ignore:
Timestamp:
12/23/2019 08:57:26 AM (6 years ago)
Author:
sdanthin
Message:

PropertyPanels?.java added a function to get properties from a certain jPanel.
Editor.java used above function to auto-close the editor window when it has no more events contained.
AudioPanel?.java modified to NOT allow audioEvents in the Event Editor to be deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/event/editor/AudioPanel.java

    r171 r180  
    4242    public boolean removeAssociatedEvent() 
    4343    { 
    44         event.removeThis(); 
    45         event = null; 
    46         return true; 
     44        //this makes it not possible to remove an AudioEvent from the script without deleting its respective I_AudioEvent. 
     45//        event.removeThis(); 
     46//        event = null; 
     47        return false; 
    4748    } 
    4849 
Note: See TracChangeset for help on using the changeset viewer.