mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-09 12:29:44 +00:00
Contacts: switch Name and Address
Suggested by /u/stephen_gordon9 on Reddit https://old.reddit.com/r/Monero/comments/nmapig/_/gzssmlo/
This commit is contained in:
parent
e8057fc35d
commit
2336989147
2 changed files with 4 additions and 4 deletions
|
@ -24,8 +24,8 @@ ContactsWidget::ContactsWidget(QSharedPointer<AppContext> ctx, QWidget *parent)
|
|||
ui->contacts->setModel(m_proxyModel);
|
||||
|
||||
ui->contacts->setSortingEnabled(true);
|
||||
ui->contacts->header()->setSectionResizeMode(AddressBookModel::Address, QHeaderView::Stretch);
|
||||
ui->contacts->header()->setSectionResizeMode(AddressBookModel::Description, QHeaderView::ResizeToContents);
|
||||
ui->contacts->header()->setSectionResizeMode(AddressBookModel::Address, QHeaderView::ResizeToContents);
|
||||
ui->contacts->header()->setSectionResizeMode(AddressBookModel::Description, QHeaderView::Stretch);
|
||||
ui->contacts->header()->setMinimumSectionSize(200);
|
||||
|
||||
// header context menu
|
||||
|
|
|
@ -16,8 +16,8 @@ class AddressBookModel : public QAbstractTableModel
|
|||
public:
|
||||
enum ModelColumn
|
||||
{
|
||||
Address = 0,
|
||||
Description,
|
||||
Description = 0,
|
||||
Address,
|
||||
COUNT
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue