Skip to content

Commit f05bd1b

Browse files
committed
[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.
1 parent 7428c37 commit f05bd1b

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)