mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-27 20:36:46 -08:00
Fix crash on initial kdbx entry addition.
This commit is contained in:
1 parent
bcc52217a8
commit
2c8b85aba7
3 files changed
+4
-2
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2015 Brian Pellin.
|
||||
* Copyright 2010-2016 Brian Pellin.
|
||||
*
|
||||
* This file is part of KeePassDroid.
|
||||
*
|
||||
@@ -374,6 +374,7 @@ public class PwDatabaseV4 extends PwDatabase {
|
||||
String filename = URLUtil.guessFileName(dbPath, null, null);
|
||||
|
||||
rootGroup = new PwGroupV4(true, true, dbNameFromPath(dbPath), iconFactory.getIcon(PwIconStandard.FOLDER));
|
||||
groups.put(rootGroup.getId(), rootGroup);
|
||||
}
|
||||
|
||||
private String dbNameFromPath(String dbPath) {
|
||||
|
||||
Reference in new issue
Block a user