Disable save button when viewing non-database screens

* Fixes #11662 - disable the save button when viewing Password Generator and Application Settings to restore previous behavior of toolbar
This commit is contained in:
Jonathan White committed 2025-06-19 17:48:56 -04:00
1 parent ce9e5551fe
commit f7fedaa441
1 file changed
+1 -1
+1 -1
View File
@@ -1056,7 +1056,7 @@ void MainWindow::updateMenuActionState()
m_ui->actionGroupDownloadFavicons->setEnabled(groupSelected && groupHasEntries && !inRecycleBin);
// Database Menu
m_ui->actionDatabaseSave->setEnabled(m_ui->tabWidget->canSave());
m_ui->actionDatabaseSave->setEnabled(databaseUnlocked && m_ui->tabWidget->canSave());
m_ui->actionDatabaseSaveAs->setEnabled(databaseUnlocked);
m_ui->actionDatabaseSaveBackup->setEnabled(databaseUnlocked);
m_ui->actionDatabaseClose->setEnabled(dbWidget);