mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-30 22:03:00 -08:00
Dynamically determine database validity
* Check that the database composite key exists, has sub-keys associated with it, and the root group exists.
This commit is contained in:
1 parent
7ac292e09b
commit
91c6e436b3
8 files changed
+14
-49
No files matched your search
@@ -57,11 +57,7 @@ NewDatabaseWizard::~NewDatabaseWizard()
|
||||
|
||||
bool NewDatabaseWizard::validateCurrentPage()
|
||||
{
|
||||
bool ok = m_pages[currentId()]->validatePage();
|
||||
if (ok && currentId() == m_pages.size() - 1) {
|
||||
m_db->setInitialized(true);
|
||||
}
|
||||
return ok;
|
||||
return m_pages[currentId()]->validatePage();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user