diff --git a/src/lms/ui/explore/SearchView.cpp b/src/lms/ui/explore/SearchView.cpp index ccfb2dd5..471f431d 100644 --- a/src/lms/ui/explore/SearchView.cpp +++ b/src/lms/ui/explore/SearchView.cpp @@ -66,6 +66,12 @@ namespace UserInterface { refreshView(); }); + + LmsApp->getScannerEvents().scanComplete.connect(this, [this](const Scanner::ScanStats& stats) + { + if (stats.nbChanges()) + _artistLinkType->setModel(ArtistListHelpers::createArtistLinkTypesModel()); + }); } std::size_t