}
nextKey = (String)tagData.getValueAt(nextKeyIndex, 0);
}
Collection<OsmPrimitive> sel = Main.main.getInProgressSelection();
Main.main.undoRedo.add(new ChangePropertyCommand(sel, tags));
membershipTable.clearSelection();
if (nextKey != null) {
tagTable.changeSelection(findRow(tagData, nextKey), 0, false, false);
}