Browse Source

Fix: src/MainWindow.cpp

Satoshi Yoneda 2 tuần trước cách đây
mục cha
commit
3e94735a73
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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);