Fixed exception when creating new local store

This commit is contained in:
Patrick Simpson 2017-02-14 15:38:18 +01:00
parent b3ac1bd6b0
commit bcd743a4c4
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ namespace Acacia.ZPush
Logger.Instance.Debug(typeof(ZPushLocalStore), "Created new store: {0}", store.FilePath);
// Set the display name
using (IFolder root = Mapping.Wrap<IFolder>(store.GetRootFolder()))
using (IFolder root = store.GetRootFolder())
{
root.Name = Properties.Resources.LocalStore_DisplayName;
}