Ignore:
Timestamp:
2015-05-17T16:29:34+02:00 (4 years ago)
Author:
Don-vip
Message:

fix regressions of r8384

File:
1 edited

Legend:

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

    r7946 r8385  
    261261    @Override
    262262    protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
    263         if (update) {
     263        if (getCurrentDataSet() == null) {
     264            setEnabled(false);
     265        } else if (update) {
    264266            setEnabled(getSelectedMultipolygonRelation() != null);
    265267        } else {
Note: See TracChangeset for help on using the changeset viewer.