- Timestamp:
- 2015-11-02T21:33:21+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresets.java
r8863 r8982 12 12 13 13 import org.openstreetmap.josm.Main; 14 import org.openstreetmap.josm.gui.MenuScroller; 14 15 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager; 15 16 … … 73 74 } 74 75 } 76 for (JMenu submenu : submenus.values()) { 77 if (submenu.getItemCount() >= Main.pref.getInteger("taggingpreset.min-elements-for-scroller", 15)) { 78 MenuScroller.setScrollerFor(submenu); 79 } 80 } 75 81 } 76 82 if (Main.pref.getBoolean("taggingpreset.sortmenu")) {
Note:
See TracChangeset
for help on using the changeset viewer.