- Timestamp:
- 2013-01-26T17:42:51+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r4023 r5672 2 2 package org.openstreetmap.josm.gui.dialogs.validator; 3 3 4 import java.awt.event.KeyListener; 4 5 import java.awt.event.MouseEvent; 5 6 import java.util.ArrayList; … … 11 12 import java.util.List; 12 13 import java.util.Map; 14 import java.util.Map.Entry; 13 15 import java.util.Set; 14 import java.util.Map.Entry;15 16 16 17 import javax.swing.JTree; … … 21 22 import javax.swing.tree.TreeSelectionModel; 22 23 24 import org.openstreetmap.josm.Main; 23 25 import org.openstreetmap.josm.data.osm.OsmPrimitive; 24 26 import org.openstreetmap.josm.data.validation.Severity; … … 27 29 import org.openstreetmap.josm.gui.preferences.ValidatorPreference; 28 30 import org.openstreetmap.josm.tools.MultiMap; 29 import org.openstreetmap.josm.Main;30 31 31 32 /** … … 70 71 this.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION); 71 72 setErrorList(errors); 73 for (KeyListener keyListener : getKeyListeners()) { 74 // Fix #3596 - Remove default keyListener to avoid conflicts with JOSM commands 75 if (keyListener.getClass().getName().equals("javax.swing.plaf.basic.BasicTreeUI$Handler")) { 76 removeKeyListener(keyListener); 77 } 78 } 72 79 } 73 80
Note:
See TracChangeset
for help on using the changeset viewer.