Skip to content

Commit

Permalink
[GUI] Don't show UTXO locking options for shield notes
Browse files Browse the repository at this point in the history
Note locking is not yet implemented, as such there is no reason to show
any of the locking related actions in the coin control dialog.

Github-Pull: #2662
Rebased-From: f05bd1b
  • Loading branch information
Fuzzbawls authored and furszy committed Dec 11, 2021
1 parent 6dd96b9 commit dfeb3c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qt/coincontroldialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,12 @@ void CoinControlDialog::updateView()
// sort view
sortView(sortColumn, sortOrder);
ui->treeWidget->setEnabled(true);

// TODO: Remove this once note locking is functional
// Hide or show locking button and context menu items
lockAction->setVisible(fSelectTransparent);
unlockAction->setVisible(fSelectTransparent);
ui->pushButtonToggleLock->setVisible(fSelectTransparent);
}

void CoinControlDialog::refreshDialog()
Expand Down

0 comments on commit dfeb3c7

Please sign in to comment.