Index: /trunk/src/org/openstreetmap/josm/gui/preferences/StyleSourceEditor.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/preferences/StyleSourceEditor.java	(revision 3027)
+++ /trunk/src/org/openstreetmap/josm/gui/preferences/StyleSourceEditor.java	(revision 3028)
@@ -89,4 +89,5 @@
         DefaultListSelectionModel selectionModel = new DefaultListSelectionModel();
         tblActiveStyles = new JTable(activeStylesModel = new ActiveStylesModel(selectionModel));
+        tblActiveStyles.putClientProperty("terminateEditOnFocusLost", true);
         tblActiveStyles.setSelectionModel(selectionModel);
         tblActiveStyles.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
@@ -961,3 +962,4 @@
         }
     }
+
 }
