mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-26 13:44:54 -05:00
Open TOTP setup dialog if entry has no valid TOTP set (#12584)
--------- Co-authored-by: x <a@b.c> Co-authored-by: Jonathan White <support@dmapps.us>
This commit is contained in:
parent
17d58ecf1e
commit
7dfeb47212
2 changed files with 8 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ void MainWindow::updateMenuActionState()
|
|||
m_ui->actionEntryAutoTypeTOTP->setVisible(singleEntrySelected && dbWidget->currentEntryHasTotp());
|
||||
m_ui->actionEntryOpenUrl->setEnabled(singleEntryOrEditing && dbWidget->currentEntryHasUrl());
|
||||
m_ui->actionEntryTotp->setEnabled(singleEntrySelected && dbWidget->currentEntryHasTotp());
|
||||
m_ui->actionEntryCopyTotp->setEnabled(singleEntrySelected && dbWidget->currentEntryHasTotp());
|
||||
m_ui->actionEntryCopyTotp->setEnabled(singleEntrySelected);
|
||||
m_ui->actionEntryCopyPasswordTotp->setEnabled(singleEntrySelected && dbWidget->currentEntryHasTotp());
|
||||
m_ui->actionEntrySetupTotp->setEnabled(singleEntrySelected);
|
||||
m_ui->actionEntryTotpQRCode->setEnabled(singleEntrySelected && dbWidget->currentEntryHasTotp());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue