Index: trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 1392)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 1393)
@@ -145,5 +145,5 @@
                 Icon i;
                 if (value != null) {
-                    Action action = actions.get(value);
+                    Action action = getAction((String)value);
                     s = (String) action.getValue(Action.NAME);
                     i = (Icon) action.getValue(Action.SMALL_ICON);
@@ -349,9 +349,6 @@
             if (s.equals("|"))
                 selected.addElement(null);
-            else {
-                if (actions.get(s) != null) {
-                    selected.addElement(s);
-                }
-            }
+            else if (getAction(s) != null)
+                selected.addElement(s);
         }
     }
@@ -379,4 +376,12 @@
             loadAction(newNode, item);
         }
+    }
+
+    public Action getAction(String s)
+    {
+        Action e = actions.get(s);
+        if(e == null)
+            e = regactions.get(s);
+        return e;
     }
 
@@ -421,5 +426,5 @@
                 t.add("|");
             else
-                t.add((String)((actions.get(selected.get(i))).getValue("toolbar")));
+                t.add((String)((getAction((String)selected.get(i))).getValue("toolbar")));
         }
         Main.pref.putCollection("toolbar", t);
@@ -449,5 +454,5 @@
                 control.addSeparator();
             else
-                control.add(actions.get(s));
+                control.add(getAction(s));
         }
         control.setVisible(control.getComponentCount() != 0);
