Index: trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java	(revision 9753)
+++ trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java	(revision 9754)
@@ -30,4 +30,11 @@
 import org.openstreetmap.josm.tools.GBC;
 
+/**
+ * Display and edit layer name and file path in a <code>JTable</code>.
+ * 
+ * Note: Do not use the same object both as <code>TableCellRenderer</code> and
+ * <code>TableCellEditor</code> - this can mess up the current editor component
+ * by subsequent calls to the renderer (#12462).
+ */
 class LayerNameAndFilePathTableCell extends JPanel implements TableCellRenderer, TableCellEditor {
     private static final Color colorError = new Color(255, 197, 197);
Index: trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 9753)
+++ trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 9754)
@@ -86,10 +86,11 @@
 
         // column 0 - layer name, save path editor
-        LayerNameAndFilePathTableCell lnafptc = new LayerNameAndFilePathTableCell();
+        LayerNameAndFilePathTableCell lnfpRenderer = new LayerNameAndFilePathTableCell();
+        LayerNameAndFilePathTableCell lnfpEditor = new LayerNameAndFilePathTableCell();
         col = new TableColumn(0); // keep in sync with SaveLayersModel#columnFilename
         col.setHeaderValue(tr("Layer Name and File Path"));
         col.setResizable(true);
-        col.setCellRenderer(lnafptc);
-        col.setCellEditor(lnafptc);
+        col.setCellRenderer(lnfpRenderer);
+        col.setCellEditor(lnfpEditor);
         col.setPreferredWidth(324);
         addColumn(col);
