mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use correct path for database.
This commit is contained in:
@@ -597,7 +597,7 @@ namespace DiscImageChef.Gui.Forms
|
||||
|
||||
protected void OnMenuStatistics(object sender, EventArgs e)
|
||||
{
|
||||
DicContext ctx = new DicContext();
|
||||
DicContext ctx = DicContext.Create(Settings.Settings.DbPath);
|
||||
|
||||
if(!ctx.Commands.Any() && !ctx.Filesystems.Any() && !ctx.Filters.Any() && !ctx.MediaFormats.Any() &&
|
||||
!ctx.Medias.Any() && !ctx.Partitions.Any() && !ctx.SeenDevices.Any())
|
||||
|
||||
Reference in New Issue
Block a user