Browse Source

Address book: show unlabeled addresses as (no label)

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
64f125f353
  1. 7
      src/qt/addresstablemodel.cpp

7
src/qt/addresstablemodel.cpp

@ -114,7 +114,14 @@ QVariant AddressTableModel::data(const QModelIndex &index, int role) const @@ -114,7 +114,14 @@ QVariant AddressTableModel::data(const QModelIndex &index, int role) const
switch(index.column())
{
case Label:
if(rec->label.isEmpty())
{
return tr("(no label)");
}
else
{
return rec->label;
}
case Address:
return rec->address;
case IsDefaultAddress:

Loading…
Cancel
Save