Changeset 19335 in josm for trunk/src


Ignore:
Timestamp:
2025-02-25T17:25:08+01:00 (3 days ago)
Author:
stoecker
Message:

fix #24163 - patch by gaben - don't flag success as warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r19106 r19335  
    140140                }
    141141            } else if (task != null && !task.isCanceled()) {
     142                Collection<PluginInformation> failed = task.getFailedPlugins();
    142143                JOptionPane.showMessageDialog(
    143144                        MainApplication.getMainFrame(),
    144145                        sb.toString(),
    145                         tr("Warning"),
    146                         JOptionPane.WARNING_MESSAGE
     146                        !failed.isEmpty() ? tr("Warning") : tr("Information"),
     147                        !failed.isEmpty() ? JOptionPane.WARNING_MESSAGE : JOptionPane.INFORMATION_MESSAGE
    147148                        );
    148149            }
Note: See TracChangeset for help on using the changeset viewer.