Index: /trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java	(revision 5423)
+++ /trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java	(revision 5424)
@@ -532,5 +532,9 @@
             }
         }
-        
+
+        FocusAdapter focus = addFocusAdapter(-1, keys, values, autocomplete, defaultACItemComparator);
+        // fire focus event in advance or otherwise the popup list will be too small at first
+        focus.focusGained(null);
+
         int recentTagsToShow = Main.pref.getInteger("properties.recently-added-tags", DEFAULT_LRU_TAGS_NUMBER);
         if (recentTagsToShow > MAX_LRU_TAGS_NUMBER) {
@@ -538,9 +542,5 @@
         }
         List<JosmAction> recentTagsActions = new ArrayList<JosmAction>();
-        suggestRecentlyAddedTags(p, keys, values, recentTagsActions, recentTagsToShow);
-
-        FocusAdapter focus = addFocusAdapter(-1, keys, values, autocomplete, defaultACItemComparator);
-        // fire focus event in advance or otherwise the popup list will be too small at first
-        focus.focusGained(null);
+        suggestRecentlyAddedTags(p, keys, values, recentTagsActions, recentTagsToShow, focus);
 
         JOptionPane pane = new JOptionPane(p, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION){
@@ -580,5 +580,5 @@
     }
     
-    private void suggestRecentlyAddedTags(JPanel p, final AutoCompletingComboBox keys, final AutoCompletingComboBox values, List<JosmAction> tagsActions, int tagsToShow) {
+    private void suggestRecentlyAddedTags(JPanel p, final AutoCompletingComboBox keys, final AutoCompletingComboBox values, List<JosmAction> tagsActions, int tagsToShow, final FocusAdapter focus) {
         if (tagsToShow > 0 && !recentTags.isEmpty()) {
             p.add(new JLabel(tr("Recently added tags")), GBC.eol());
@@ -607,4 +607,6 @@
                         keys.getEditor().setItem(t.getKey());
                         values.getEditor().setItem(t.getValue());
+                        // Update list of values (fix #7951) 
+                        focus.focusGained(null);
                     }
                 };
