New group text is now visible again in Group and Settings pages

This commit is contained in:
BONNEVILLE Geoffroy
2017-12-06 18:29:19 +01:00
parent 3b66824c58
commit 026bfcba78
6 changed files with 65 additions and 25 deletions

View File

@@ -93,7 +93,7 @@ namespace ModernKeePass.ViewModels
public SettingsDatabaseVm(IDatabase database)
{
_database = database;
Groups = _database.RootGroup.Groups;
Groups = _database?.RootGroup.Groups;
}
}
}