Changeset 418 in josm for trunk/src/org


Ignore:
Timestamp:
2007-10-25T11:43:23+02:00 (17 years ago)
Author:
framm
Message:
  • tagging presets are now not shown in the properties dialog by default. use the menu instead. if you really really want it then set taggingpresets.in-properties-dialog=true in your preferences file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java

    r416 r418  
    328328
    329329                // ---------------------------------------
    330                 // This drop-down will probably be removed soon.
    331                 //
    332                 if (TaggingPresetPreference.taggingPresets.size() > 0) {
     330                // This drop-down is really deprecated but we offer people a chance to
     331                // activate it if they really want. Presets should be used from the
     332                // menu.
     333                if (TaggingPresetPreference.taggingPresets.size() > 0 &&
     334                                Main.pref.getBoolean("taggingpresets.in-properties-dialog", false)) {
    333335                        Vector<ActionListener> allPresets = new Vector<ActionListener>();
    334336                        for (final TaggingPreset p : TaggingPresetPreference.taggingPresets)
     
    352354                });
    353355                taggingPresets.setRenderer(new TaggingCellRenderer());
    354                
    355                 // End of "will be removed soon".
    356                 // --------------------------------------------
    357356
    358357                // setting up the properties table
Note: See TracChangeset for help on using the changeset viewer.