Changeset 179 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui


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

ScriptBuilderFrame?.java fixed ticket #209, incidents with an offset are now able to be created and events loaded into them without problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java

    r177 r179  
    16841684             
    16851685            script.incidents.get(indx).setOffset((Integer) addIncidentStart.getValue() * 60); 
    1686             script.incidents.get(indx).insertCadData((Integer) addIncidentStart.getValue(), new CadData(addIncidentType.getText(),addIncidentLocation.getText())); 
     1686            //following line may need *60? 
     1687            script.incidents.get(indx).insertCadData((Integer) addIncidentStart.getValue() * 60, new CadData(addIncidentType.getText(),addIncidentLocation.getText())); 
    16871688            script.numberOfIncidents++; 
    16881689             
Note: See TracChangeset for help on using the changeset viewer.