Ignore:
Timestamp:
2009-11-07T18:01:20+01:00 (15 years ago)
Author:
jttt
Message:

Remove some unnecessary calls to fireSelectionChanged()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r2401 r2402  
    272272    private void tryAgain(MouseEvent e) {
    273273        getCurrentDataSet().setSelected();
    274         Main.main.getCurrentDataSet().fireSelectionChanged();
    275274        mouseClicked(e);
    276275    }
     
    545544            newSelection.add(n);
    546545            ds.setSelected(n);
    547             ds.fireSelectionChanged();
    548546        } else if (!newNode) {
    549547            title = tr("Connect existing way to node");
     
    590588                    (posn0 < selectedWay.getNodesCount()-1) && targetNode.equals(selectedWay.getNode(posn0+1))) {  // next node
    591589                getCurrentDataSet().setSelected(targetNode);
    592                 getCurrentDataSet().fireSelectionChanged();
    593590                lastUsedNode = targetNode;
    594591                return true;
Note: See TracChangeset for help on using the changeset viewer.