Add "receiving addresses" to toolbar

This commit is contained in:
Wladimir J. van der Laan
2011-06-30 19:43:44 +02:00
parent d56c6f312c
commit d61b7d13e4
3 changed files with 4 additions and 3 deletions

View File

@@ -134,12 +134,12 @@ QVariant AddressTableModel::data(const QModelIndex &index, int role) const
}
return font;
}
else if (role == Qt::ForegroundRole)
else if (role == Qt::BackgroundRole)
{
// Show default address in alternative color
if(priv->isDefaultAddress(rec))
{
return QColor(0,0,255);
return QColor(255,255,128);
}
}
else if (role == Qt::ToolTipRole)