Ignore:
Timestamp:
2011-01-31T00:10:01+01:00 (13 years ago)
Author:
stoecker
Message:

fix #5885

File:
1 edited

Legend:

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

    r3504 r3835  
    127127     * @return the current edit layer. null, if no edit layer exists
    128128     */
    129     protected OsmDataLayer getEditLayer() {
     129    protected static OsmDataLayer getEditLayer() {
    130130        return Main.main.getEditLayer();
    131131    }
     
    136136     * @return the current dataset. null, if no current dataset exists
    137137     */
    138     protected DataSet getCurrentDataSet() {
     138    protected static DataSet getCurrentDataSet() {
    139139        return Main.main.getCurrentDataSet();
    140140    }
Note: See TracChangeset for help on using the changeset viewer.