From 45363ecc595f34154274b03ca05ba155800d8695 Mon Sep 17 00:00:00 2001 From: wakingrufus Date: Wed, 13 Apr 2022 12:30:37 -0500 Subject: [PATCH] fix tag view not refreshing after loads --- .../github/wakingrufus/jamm/desktop/ObservableLibrary.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desktop/src/main/kotlin/com/github/wakingrufus/jamm/desktop/ObservableLibrary.kt b/desktop/src/main/kotlin/com/github/wakingrufus/jamm/desktop/ObservableLibrary.kt index e053ff0..12dada1 100644 --- a/desktop/src/main/kotlin/com/github/wakingrufus/jamm/desktop/ObservableLibrary.kt +++ b/desktop/src/main/kotlin/com/github/wakingrufus/jamm/desktop/ObservableLibrary.kt @@ -88,6 +88,9 @@ class ObservableLibrary(val rootDir: File) : Logging { listeners.forEach { it.loadComplete() } + tagListeners.forEach { + it.loadComplete() + } } } @@ -167,6 +170,9 @@ class ObservableLibrary(val rootDir: File) : Logging { listeners.forEach { it.loadComplete() } + tagListeners.forEach { + it.loadComplete() + } logger().info("scanned ${newTrackScans.size} tracks") createCSVFile() }