Update artist link type combo when DB changed
This commit is contained in:
@@ -66,6 +66,12 @@ namespace UserInterface
|
|||||||
{
|
{
|
||||||
refreshView();
|
refreshView();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
LmsApp->getScannerEvents().scanComplete.connect(this, [this](const Scanner::ScanStats& stats)
|
||||||
|
{
|
||||||
|
if (stats.nbChanges())
|
||||||
|
_artistLinkType->setModel(ArtistListHelpers::createArtistLinkTypesModel());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t
|
std::size_t
|
||||||
|
|||||||
Reference in New Issue
Block a user