mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-03 07:12:47 -08:00
fix RecentDatabases, closes #386
This commit is contained in:
3 files changed
+20
-8
No files matched your search
@@ -378,6 +378,11 @@ void MainWindow::openRecentDatabase(QAction* action)
|
||||
void MainWindow::clearLastDatabases()
|
||||
{
|
||||
config()->set("LastDatabases", QVariant());
|
||||
bool inWelcomeWidget = (m_ui->stackedWidget->currentIndex() == 2);
|
||||
|
||||
if (inWelcomeWidget) {
|
||||
m_ui->welcomeWidget->refreshLastDatabases();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::openDatabase(const QString& fileName, const QString& pw, const QString& keyFile)
|
||||
|
||||
Reference in new issue
Block a user