Wait just a bit to set the model name so that we can display the proper name instead of filename.

This commit is contained in:
Adam Treat
2023-06-26 20:59:46 -04:00
parent db34a2f670
commit c24ad02a6a
4 changed files with 36 additions and 10 deletions

View File

@@ -85,6 +85,7 @@ ModelList::ModelList()
: QAbstractListModel(nullptr)
, m_installedModels(new InstalledModels(this))
, m_downloadableModels(new DownloadableModels(this))
, m_modelHasNames(false)
{
m_installedModels->setSourceModel(this);
m_downloadableModels->setSourceModel(this);