Commit d896e29e authored by Vincent Privat's avatar Vincent Privat

update to JOSM 13597

git-svn-id: https://svn.openstreetmap.org/applications/editors/josm/plugins/wikipedia@34149 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
parent f3a2ebf7
......@@ -4,7 +4,7 @@
<!-- enter the SVN commit message -->
<property name="commit.message" value="Commit message"/>
<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
<property name="plugin.main.version" value="12900"/>
<property name="plugin.main.version" value="13597"/>
<property name="plugin.canloadatruntime" value="true"/>
<property name="plugin.author" value="simon04"/>
......
......@@ -30,6 +30,7 @@ import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox;
import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager;
import org.openstreetmap.josm.gui.util.GuiHelper;
import org.openstreetmap.josm.tools.GBC;
import org.openstreetmap.josm.tools.Utils;
import org.wikipedia.WikipediaApp;
import org.wikipedia.data.WikidataEntry;
......@@ -104,7 +105,7 @@ public final class WikidataItemSearchDialog extends ExtendedDialog {
if (selected == null) {
return;
}
final String key = Tag.removeWhiteSpaces(targetKey.getEditor().getItem().toString());
final String key = Utils.removeWhiteSpaces(targetKey.getEditor().getItem().toString());
final String value = selected.createWikipediaTag().getValue();
WikipediaToggleDialog.AddWikipediaTagAction.addTag(new Tag(key, value));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment