]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/function/srtm/DownloadSrtmFunction.java
Version 16.3, July 2014
[GpsPrune.git] / tim / prune / function / srtm / DownloadSrtmFunction.java
index 8517cd0e88e083aa78d763e38754219e04b1e590..d0d92bb152062a7515a67410746643397a715173 100644 (file)
@@ -175,7 +175,12 @@ public class DownloadSrtmFunction extends GenericFunction implements Runnable
                if (errorMessage != null) {
                        _app.showErrorMessageNoLookup(getNameKey(), errorMessage);
                }
-               else if (numDownloaded > 0)
+               else if (numDownloaded == 1)
+               {
+                       JOptionPane.showMessageDialog(_parentFrame, I18nManager.getTextWithNumber("confirm.downloadsrtm.1", numDownloaded),
+                               I18nManager.getText(getNameKey()), JOptionPane.INFORMATION_MESSAGE);
+               }
+               else if (numDownloaded > 1)
                {
                        JOptionPane.showMessageDialog(_parentFrame, I18nManager.getTextWithNumber("confirm.downloadsrtm", numDownloaded),
                                I18nManager.getText(getNameKey()), JOptionPane.INFORMATION_MESSAGE);