Changeset 4470 in josm for trunk/src


Ignore:
Timestamp:
2011-09-27T23:55:12+02:00 (13 years ago)
Author:
Don-vip
Message:

fix #6894 - Plugin and JOSM version numbers badly displayed in warning popup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r4310 r4470  
    5858import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    5959import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    60 import org.openstreetmap.josm.io.remotecontrol.RemoteControl;
    6160import org.openstreetmap.josm.tools.CheckParameterUtil;
    6261import org.openstreetmap.josm.tools.GBC;
     
    384383                tr("<html>Plugin {0} requires JOSM version {1}. The current JOSM version is {2}.<br>"
    385384                        +"You have to update JOSM in order to use this plugin.</html>",
    386                         plugin, requiredVersion, Version.getInstance().getVersion()
     385                        plugin, Integer.toString(requiredVersion), Version.getInstance().getVersionString()
    387386                ),
    388387                tr("Warning"),
Note: See TracChangeset for help on using the changeset viewer.