Changeset 8627 in josm for trunk/src/org


Ignore:
Timestamp:
2015-07-29T00:00:52+02:00 (5 years ago)
Author:
wiktorn
Message:

properly pass the message that user has not selected layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r8624 r8627  
    181181                // TODO: save layer information into ImageryInfo / ImageryPreferences?
    182182            } else {
    183                 throw new IllegalArgumentException(); //user canceled operation
     183                throw new IllegalArgumentException(tr("No layer selected")); //user canceled operation
    184184            }
    185185        } else if (layers.size() == 1) {
Note: See TracChangeset for help on using the changeset viewer.