Changeset 3311 in josm


Ignore:
Timestamp:
2010-06-04T22:40:28+02:00 (14 years ago)
Author:
bastiK
Message:

fix last commit

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

    r3310 r3311  
    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", false)) {
    7474                try {
    7575                    Long.parseLong(str);
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java

    r3310 r3311  
    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", false)) {
    7575                try {
    7676                    Long.parseLong(str);
Note: See TracChangeset for help on using the changeset viewer.