Ignore:
Timestamp:
11/24/14 01:51:10 (10 years ago)
Author:
dmay
Message:

Work of the last week: Completely redid most of the menu handling, since there were too many cornercases that did not work. Turns out, that in these cases, wrong indices were generated. Fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDgenerateJacaretoReplay.java

    r1825 r1834  
    302302                    // if a menu file was provided, use the improved event 
    303303                    // generation 
     304                    // TODO: check how much of this is still necessary with 
     305                    // the new menu index system 
    304306                    if (menuList != null) { 
    305307                        if (event.getTarget() instanceof JFCMenuButton) { 
     
    423425            if (indent < oldIndent) { 
    424426                // this is a parent submenu 
    425                 elements.add(menuElements.get(stripped)); 
     427                elements.push(menuElements.get(stripped)); 
    426428                oldIndent = indent; 
    427429            } 
Note: See TracChangeset for help on using the changeset viewer.