mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Passkeys: Enable Import Passkey entry menu item only if a single entry is selected
This commit is contained in:
parent
305fd24a8e
commit
f61f55fff7
@ -991,7 +991,7 @@ void MainWindow::setMenuActionState(DatabaseWidget::Mode mode)
|
|||||||
#ifdef WITH_XC_BROWSER_PASSKEYS
|
#ifdef WITH_XC_BROWSER_PASSKEYS
|
||||||
m_ui->actionPasskeys->setEnabled(true);
|
m_ui->actionPasskeys->setEnabled(true);
|
||||||
m_ui->actionImportPasskey->setEnabled(true);
|
m_ui->actionImportPasskey->setEnabled(true);
|
||||||
m_ui->actionEntryImportPasskey->setEnabled(true);
|
m_ui->actionEntryImportPasskey->setEnabled(singleEntrySelected);
|
||||||
#endif
|
#endif
|
||||||
#ifdef WITH_XC_SSHAGENT
|
#ifdef WITH_XC_SSHAGENT
|
||||||
bool singleEntryHasSshKey =
|
bool singleEntryHasSshKey =
|
||||||
|
Loading…
Reference in New Issue
Block a user