Changeset 20749 in osm for applications/editors


Ignore:
Timestamp:
2010-03-30T16:20:53+02:00 (15 years ago)
Author:
roland
Message:

Public Transport Plugin: Using some Commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java

    r20747 r20749  
    862862    else if ("stopImporter.waypointsDetach".equals(event.getActionCommand()))
    863863    {
    864       if (dialog.getWaypointsTable().getSelectedRowCount() > 0)
     864/*      if (dialog.getWaypointsTable().getSelectedRowCount() > 0)
    865865      {
    866866        for (int i = 0; i < waypointTM.getRowCount(); ++i)
     
    880880            waypointTM.nodes.set(i, null);
    881881        }
    882       }
     882      }*/
     883      Main.main.undoRedo.add(new WaypointsDetachCommand(this));
    883884      dialog.getWaypointsTable().clearSelection();
    884885    }
Note: See TracChangeset for help on using the changeset viewer.