Changeset 2994 in osm for applications/editors


Ignore:
Timestamp:
2007-05-22T19:33:30+02:00 (18 years ago)
Author:
imi
Message:

fixed path to downloadTask for new JOSM download dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/NPE_WMSmenuAction.java

    r2121 r2994  
    3838                //need to reset the particular download task
    3939                //DownloadWMSTask
    40                 ;
    41                 for (int i = 0; i < Main.main.menu.download.downloadTasks.size(); ++i) {
     40               
     41                for (int i = 0; i < Main.main.menu.download.dialog.downloadTasks.size(); ++i) {
    4242                       
    43                         if (Main.main.menu.download.downloadTasks.get(i).getPreferencesSuffix().compareTo("wmsplugin") == 0){
     43                        if (Main.main.menu.download.dialog.downloadTasks.get(i).getPreferencesSuffix().compareTo("wmsplugin") == 0){
    4444                               
    45                                 Main.main.menu.download.downloadTasks.remove(i);
     45                                Main.main.menu.download.dialog.downloadTasks.remove(i);
    4646                        }
    4747                }
Note: See TracChangeset for help on using the changeset viewer.