<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -76,6 +76,7 @@ QVariant AutoFillModel::data(const QModelIndex &amp;index, int role) const
             return m_forms[index.row()].url.host();
         case 1: {
             QStringList help;
+            QStringList choices;
             foreach (const AutoFillManager::Element &amp;element, m_forms[index.row()].elements) {
                 QString key = element.first.toLower();
                 if (key.contains(QLatin1String(&quot;user&quot;))
@@ -83,9 +84,12 @@ QVariant AutoFillModel::data(const QModelIndex &amp;index, int role) const
                     || key.contains(QLatin1String(&quot;login&quot;))
                     || key == QLatin1String(&quot;u&quot;))
                     return element.second;
+                choices.append(element.second);
                 help.append(element.first);
             }
-            qWarning() &lt;&lt; &quot;AutoFillModel: Unknown user id, choices:&quot; &lt;&lt; help;
+            if (choices.count() == 1)
+                return choices.first();
+            qWarning() &lt;&lt; &quot;AutoFillModel: Unknown user id, choices:&quot; &lt;&lt; help &lt;&lt; &quot;url&quot; &lt;&lt; m_forms[index.row()].url.toString();
             return help.join(QLatin1String(&quot;,&quot;));
         }
         }</diff>
      <filename>src/autofilldialog.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>52fe23c4effc5dd6cc1c552629edb929b5a3abcb</id>
    </parent>
  </parents>
  <author>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </author>
  <url>http://github.com/faw/arora/commit/464384e8c1fa5a20797f1ae19d07ad90f3379b46</url>
  <id>464384e8c1fa5a20797f1ae19d07ad90f3379b46</id>
  <committed-date>2009-10-03T16:20:41-07:00</committed-date>
  <authored-date>2009-10-03T16:20:41-07:00</authored-date>
  <message>When there is only one good element left display that element</message>
  <tree>d92140bc9b3958c2782264286d3bbda7219f4d3d</tree>
  <committer>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </committer>
</commit>
