Ignore:
Timestamp:
2017-09-30T20:08:42+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #15375 - display a non blocking notification in case of unsuccessful search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r12846 r12912  
    5858import org.openstreetmap.josm.gui.MainApplication;
    5959import org.openstreetmap.josm.gui.MapFrame;
     60import org.openstreetmap.josm.gui.Notification;
    6061import org.openstreetmap.josm.gui.PleaseWaitRunnable;
    6162import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSException;
     
    701702                }
    702703                if (!GraphicsEnvironment.isHeadless()) {
    703                     JOptionPane.showMessageDialog(
    704                             parent,
    705                             msg,
    706                             tr("Warning"),
    707                             JOptionPane.WARNING_MESSAGE
    708                     );
     704                    new Notification(msg).show();
    709705                }
    710706            } else {
Note: See TracChangeset for help on using the changeset viewer.