Ignore:
Timestamp:
2018-04-19T22:34:52+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #16204 - allow to create a new layer, draw, drag, open a few windows. Nothing more to hope in sandbox mode. At least JOSM is now more robust than ever.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/util/AdvancedKeyPressDetector.java

    r13270 r13649  
    8282            Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.KEY_EVENT_MASK);
    8383        } catch (SecurityException ex) {
    84             Logging.warn(ex);
     84            Logging.log(Logging.LEVEL_WARN, "Unable to add AWT event listener", ex);
    8585        }
    8686        timer = new Timer(0, e -> {
     
    113113            Toolkit.getDefaultToolkit().removeAWTEventListener(this);
    114114        } catch (SecurityException ex) {
    115             Logging.warn(ex);
     115            Logging.log(Logging.LEVEL_WARN, "Unable to remove AWT event listener", ex);
    116116        }
    117117    }
Note: See TracChangeset for help on using the changeset viewer.