Changeset 13137 in josm
- Timestamp:
- 2017-11-20T18:08:54+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/FilterDialog.java
r12846 r13137 14 14 15 15 import javax.swing.AbstractAction; 16 import javax.swing.DefaultCellEditor; 16 17 import javax.swing.JCheckBox; 17 18 import javax.swing.JTable; … … 46 47 import org.openstreetmap.josm.gui.util.MultikeyActionsHandler; 47 48 import org.openstreetmap.josm.gui.util.MultikeyShortcutAction; 49 import org.openstreetmap.josm.gui.widgets.DisableShortcutsOnFocusGainedTextField; 48 50 import org.openstreetmap.josm.tools.ImageProvider; 49 51 import org.openstreetmap.josm.tools.InputMapUtils; … … 114 116 userTable = new UserTable(filterModel); 115 117 118 userTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE); 116 119 userTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 117 120 … … 128 131 userTable.setDefaultRenderer(Boolean.class, new BooleanRenderer()); 129 132 userTable.setDefaultRenderer(String.class, new StringRenderer()); 133 userTable.setDefaultEditor(String.class, new DefaultCellEditor(new DisableShortcutsOnFocusGainedTextField())); 130 134 131 135 SideButton addButton = new SideButton(new AbstractAction() {
Note:
See TracChangeset
for help on using the changeset viewer.