Changeset 9696 in josm for trunk/src


Ignore:
Timestamp:
2016-01-31T13:07:21+01:00 (9 years ago)
Author:
simon04
Message:

Search dialog validation: fix MapCSSException

File:
1 edited

Legend:

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

    r9484 r9696  
    4747import org.openstreetmap.josm.gui.ExtendedDialog;
    4848import org.openstreetmap.josm.gui.PleaseWaitRunnable;
     49import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSException;
    4950import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;
    5051import org.openstreetmap.josm.gui.preferences.ToolbarPreferences.ActionParser;
     
    305306                    SearchCompiler.compile(ss);
    306307                    return true;
    307                 } catch (ParseError e) {
     308                } catch (ParseError | MapCSSException e) {
    308309                    return false;
    309310                }
Note: See TracChangeset for help on using the changeset viewer.