creation date

This commit is contained in:
2019-04-02 17:47:27 +02:00
parent 33527187f3
commit e1fc0648ce
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -260,7 +260,11 @@ void cMainWindow::loadData(bool bProgressBar)
m_tagList.load(m_lpSplashScreen, bProgressBar ? m_lpProgressBar : nullptr);
m_pictureList.clear();
if(bProgressBar)
m_lpProgressBar->setVisible(true);
m_pictureList.load(m_personList, m_locationList, m_tagList, m_lpSplashScreen, bProgressBar ? m_lpProgressBar : nullptr);
if(bProgressBar)
m_lpProgressBar->setVisible(false);
displayData();
@@ -591,7 +595,7 @@ void cMainWindow::onFileOpen()
if(!m_pictureLibrary.openDatabase(szPath))
return;
loadData(m_lpProgressBar);
loadData(true);
setCurrentFile(szPath);
m_szOldPath = szPath;