aboutsummaryrefslogtreecommitdiffstats
path: root/src/Instance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index a033ed82f..4fe399a2d 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -21,6 +21,7 @@
#include "Instance.hxx"
#include "Partition.hxx"
#include "Idle.hxx"
+#include "Stats.hxx"
void
Instance::DeleteSong(const char *uri)
@@ -31,6 +32,7 @@ Instance::DeleteSong(const char *uri)
void
Instance::DatabaseModified()
{
+ stats_invalidate();
partition->DatabaseModified();
idle_add(IDLE_DATABASE);
}