Changeset 1858 in josm for trunk/src


Ignore:
Timestamp:
2009-07-27T07:58:59+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3098 : Actions disabled by drawing closed way

File:
1 edited

Legend:

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

    r1844 r1858  
    273273    private void tryAgain(MouseEvent e) {
    274274        getCurrentDataSet().setSelected();
     275        DataSet.fireSelectionChanged(getCurrentDataSet().getSelected());
    275276        mouseClicked(e);
    276277    }
     
    341342                // have to switch modes)
    342343                getCurrentDataSet().setSelected(n);
     344                DataSet.fireSelectionChanged(getCurrentDataSet().getSelected());
    343345                selection = getCurrentDataSet().getSelected();
    344346                // The user explicitly selected a node, so let him continue drawing
Note: See TracChangeset for help on using the changeset viewer.