mirror of
https://github.com/feather-wallet/feather.git
synced 2025-04-23 20:58:13 +00:00
receive: fix pinned address sort
This commit is contained in:
parent
2e344cfa94
commit
4bcd397aad
1 changed files with 2 additions and 2 deletions
|
@ -104,9 +104,9 @@ QVariant SubaddressModel::parseSubaddressRow(const SubaddressRow &subaddress, co
|
|||
{
|
||||
if (role == Qt::UserRole) {
|
||||
if (subaddress.isPinned()) {
|
||||
return -1;
|
||||
return 0;
|
||||
} else {
|
||||
return subaddress.getRow();
|
||||
return subaddress.getRow() + 1;
|
||||
}
|
||||
}
|
||||
return "#" + QString::number(subaddress.getRow()) + " ";
|
||||
|
|
Loading…
Reference in a new issue