Fixed Bug: Search didn't work after creating DB

This commit is contained in:
PhilippC 2013-03-16 06:53:17 +01:00
parent b4784b2128
commit 11e7172fe6

View File

@ -66,7 +66,8 @@ namespace keepass2android
db.root = db.pm.RootGroup; db.root = db.pm.RootGroup;
db.mIoc = mIoc; db.mIoc = mIoc;
db.Loaded = true; db.Loaded = true;
db.searchHelper = new SearchDbHelper(mCtx);
// Add a couple default groups // Add a couple default groups
AddGroup internet = AddGroup.getInstance(mCtx, db, "Internet", 1, db.pm.RootGroup, null, true); AddGroup internet = AddGroup.getInstance(mCtx, db, "Internet", 1, db.pm.RootGroup, null, true);
internet.run(); internet.run();