Changeset 12846 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/TextContextualPopupMenu.java
- Timestamp:
- 2017-09-13T23:24:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/TextContextualPopupMenu.java
r12620 r12846 23 23 import javax.swing.undo.UndoManager; 24 24 25 import org.openstreetmap.josm. Main;25 import org.openstreetmap.josm.spi.preferences.Config; 26 26 import org.openstreetmap.josm.tools.ImageProvider; 27 27 import org.openstreetmap.josm.tools.Logging; … … 172 172 JMenuItem mi = new JMenuItem(action); 173 173 mi.setText(label); 174 if (iconName != null && Main.pref.getBoolean("text.popupmenu.useicons", true)) {174 if (iconName != null && Config.getPref().getBoolean("text.popupmenu.useicons", true)) { 175 175 ImageIcon icon = ImageProvider.get(iconName, ImageProvider.ImageSizes.SMALLICON); 176 176 if (icon != null) {
Note:
See TracChangeset
for help on using the changeset viewer.