Changeset 3312 in josm for trunk/src/org


Ignore:
Timestamp:
2010-06-04T23:10:42+02:00 (14 years ago)
Author:
bastiK
Message:

fix again. (triple negation was too much...)

Location:
trunk/src/org/openstreetmap/josm/gui/tagging/ac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingComboBox.java

    r3311 r3312  
    7171           
    7272            // if the text starts with a number we don't autocomplete
    73             if (!Main.pref.getBoolean("autocomplete.dont_complete_numbers", false)) {
     73            if (Main.pref.getBoolean("autocomplete.dont_complete_numbers", true)) {
    7474                try {
    7575                    Long.parseLong(str);
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java

    r3311 r3312  
    7272            String currentText = getText(0, getLength());
    7373            // if the text starts with a number we don't autocomplete
    74             if (!Main.pref.getBoolean("autocomplete.dont_complete_numbers", false)) {
     74            if (Main.pref.getBoolean("autocomplete.dont_complete_numbers", true)) {
    7575                try {
    7676                    Long.parseLong(str);
Note: See TracChangeset for help on using the changeset viewer.