Satoshi Yoneda пре 2 недеља
родитељ
комит
3e94735a73
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/MainWindow.cpp

+ 3 - 1
src/MainWindow.cpp

@@ -537,8 +537,10 @@ void MainWindow::performAsyncSearch() {
     m_lastScannedImages = getFilteredImages();
   }
 
-  if (m_lastScannedImages.empty())
+  if (m_lastScannedImages.empty()) {
+    m_progressBar->setVisible(false);
     return;
+  }
 
   m_progressBar->setVisible(true);
   m_progressBar->setRange(0, 0);