Changeset 2398 in osm for utils


Ignore:
Timestamp:
2007-04-05T17:20:25+02:00 (18 years ago)
Author:
imi
Message:

fixed the detection of an existing "View" - menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/josm/plugins/osmarender/src/OsmarenderPlugin.java

    r1638 r2398  
    9696        view = null;
    9797        for (int i = 0; i < menu.getMenuCount(); ++i) {
    98             if (menu.getMenu(i) != null && tr("View").equals(menu.getMenu(i).getName())) {
     98            if (menu.getMenu(i) != null && tr("View").equals(menu.getMenu(i).getText())) {
    9999                view = menu.getMenu(i);
    100100                break;
Note: See TracChangeset for help on using the changeset viewer.