We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e2d825 commit 9949d90Copy full SHA for 9949d90
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