Ignore:
Timestamp:
2012-08-11T23:03:55+02:00 (14 years ago)
Author:
Don-vip
Message:

fix #7917 - Control the number of items displayed at once in all comboboxes (20 by default, configurable with gui.combobox.maximum-row-count)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java

    r5254 r5429  
    2525import javax.swing.DefaultComboBoxModel;
    2626import javax.swing.JCheckBox;
    27 import javax.swing.JComboBox;
    2827import javax.swing.JLabel;
    2928import javax.swing.JPanel;
     
    4645import javax.swing.table.TableRowSorter;
    4746import org.openstreetmap.josm.Main;
     47import org.openstreetmap.josm.gui.widgets.JosmComboBox;
    4848import org.openstreetmap.josm.gui.widgets.SelectAllOnFocusGainedDecorator;
    4949import org.openstreetmap.josm.tools.Shortcut;
     
    134134    private JCheckBox cbDefault = new JCheckBox();
    135135    private JCheckBox cbDisable = new JCheckBox();
    136     private JComboBox tfKey = new JComboBox();
     136    private JosmComboBox tfKey = new JosmComboBox();
    137137
    138138    JTable shortcutTable = new JTable();
Note: See TracChangeset for help on using the changeset viewer.