store 2 items of each imported book.
This commit is contained in:
parent
f87067ffb6
commit
6b076a7538
1 changed files with 5 additions and 0 deletions
|
@ -220,6 +220,11 @@ namespace Bücherwurm
|
||||||
public void MakeImport(string JsonText)
|
public void MakeImport(string JsonText)
|
||||||
{
|
{
|
||||||
Catalogue.Import(JsonText);
|
Catalogue.Import(JsonText);
|
||||||
|
foreach (var book in Catalogue.GetBooks())
|
||||||
|
{
|
||||||
|
Inventory.Add(book);
|
||||||
|
Inventory.Add(book);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue