Ignore:
Timestamp:
2008-12-22T14:07:54+01:00 (17 years ago)
Author:
stoecker
Message:

updated

File:
1 edited

Legend:

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

    r12458 r12472  
    212212                if (oldFrame==null && newFrame!=null) {
    213213                        setEnabledAll(true);
    214                         Main.map.toolBarActions.addSeparator();
    215                         IconToggleButton tb = new IconToggleButton
    216                                                 (new WMSAdjustAction(Main.map));
    217                         Main.map.toolBarActions.add(tb);
    218                         Main.map.toolGroup.add((AbstractButton)tb);
     214                        Main.map.addMapMode(new IconToggleButton
     215                                                (new WMSAdjustAction(Main.map)));
    219216                } else if (oldFrame!=null && newFrame==null ) {
    220217                        setEnabledAll(false);
Note: See TracChangeset for help on using the changeset viewer.