We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e3203 commit 0d0fe24Copy full SHA for 0d0fe24
src/qt/pivx/receivewidget.cpp
@@ -135,6 +135,9 @@ void ReceiveWidget::loadWalletModel()
135
void ReceiveWidget::refreshView(const QModelIndex& tl, const QModelIndex& br)
136
{
137
const QModelIndex& index = tl.sibling(tl.row(), AddressTableModel::Address);
138
+ const QString& typeRole = index.data(AddressTableModel::TypeRole).toString();
139
+ if (shieldedMode && typeRole != AddressTableModel::ShieldedReceive) return;
140
+ if (!shieldedMode && typeRole != AddressTableModel::Receive) return;
141
return refreshView(index.data(Qt::DisplayRole).toString());
142
}
143
0 commit comments