Skip to content

Commit dfeb3c7

Browse files
Fuzzbawlsfurszy
authored andcommitted
[GUI] Don't show UTXO locking options for shield notes
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
1 parent 6dd96b9 commit dfeb3c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/qt/coincontroldialog.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,12 @@ void CoinControlDialog::updateView()
828828
// sort view
829829
sortView(sortColumn, sortOrder);
830830
ui->treeWidget->setEnabled(true);
831+
832+
// TODO: Remove this once note locking is functional
833+
// Hide or show locking button and context menu items
834+
lockAction->setVisible(fSelectTransparent);
835+
unlockAction->setVisible(fSelectTransparent);
836+
ui->pushButtonToggleLock->setVisible(fSelectTransparent);
831837
}
832838

833839
void CoinControlDialog::refreshDialog()

0 commit comments

Comments
 (0)