From 9441874507128943a11348e6d038979db0803b9a Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Thu, 23 Apr 2020 07:16:59 -0600 Subject: [PATCH] Update message for missing URLs Signed-off-by: Taylor Smock --- .../josm/plugins/mapwithai/backend/MapWithAIDataUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java index 48d17d6..51c0a3d 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java @@ -185,8 +185,8 @@ public final class MapWithAIDataUtils { monitor.close(); } } else { - final Notification noUrls = MapWithAIPreferenceHelper.getMapWithAIUrl().isEmpty() - ? new Notification(tr("There are no defined URLs. To get the defaults, restart JOSM")) + final Notification noUrls = MapWithAIPreferenceHelper.getMapWithAIUrl().isEmpty() ? new Notification(tr( + "There are no defined URLs. To add sources, go to Preferences -> MapWithAI -> Servers and add the appropriate servers")) : new Notification(tr("No URLS are enabled")); noUrls.setDuration(Notification.TIME_DEFAULT); noUrls.setIcon(JOptionPane.INFORMATION_MESSAGE);