Skip to content

Commit

Permalink
Don't update coincontrol for same coin type
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Apr 21, 2023
1 parent 744b324 commit 0a8163b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/qt/pivx/send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,13 @@ void SendWidget::onCheckBoxChanged()

void SendWidget::onPIVSelected(bool _isTransparent)
{
isTransparent = _isTransparent;
resetChangeAddress();
resetCoinControl();
tryRefreshAmounts();
updateStyle(coinIcon);
if (isTransparent != _isTransparent) {
isTransparent = _isTransparent;
resetChangeAddress();
resetCoinControl();
tryRefreshAmounts();
updateStyle(coinIcon);
}
}

void SendWidget::onContactsClicked(SendMultiRow* entry)
Expand Down

0 comments on commit 0a8163b

Please sign in to comment.