Changeset 3028 in josm for trunk


Ignore:
Timestamp:
2010-02-20T17:19:00+01:00 (10 years ago)
Author:
Gubaer
Message:

fixed #4484: Tagging preset file does not save if not deselected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/StyleSourceEditor.java

    r2655 r3028  
    8989        DefaultListSelectionModel selectionModel = new DefaultListSelectionModel();
    9090        tblActiveStyles = new JTable(activeStylesModel = new ActiveStylesModel(selectionModel));
     91        tblActiveStyles.putClientProperty("terminateEditOnFocusLost", true);
    9192        tblActiveStyles.setSelectionModel(selectionModel);
    9293        tblActiveStyles.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
     
    961962        }
    962963    }
     964
    963965}
Note: See TracChangeset for help on using the changeset viewer.