summaryrefslogtreecommitdiff
path: root/src/search.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-12 19:10:11 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-12 19:10:11 +0100
commit004d94f1f62f9a4ac4e8aa7999b71ea255d2de69 (patch)
tree5a171b064ff289b646b15d6ffccbdd14733d873a /src/search.cpp
parentfe179ae0cb8fbce1cf86521e744c384553e515f2 (diff)
show failed export popup
Diffstat (limited to 'src/search.cpp')
-rw-r--r--src/search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.cpp b/src/search.cpp
index 6762779..9eb3ca4 100644
--- a/src/search.cpp
+++ b/src/search.cpp
@@ -370,7 +370,7 @@ static void *_ts_list_files_thread(void *args)
// Use this thread to cleanup previous result.
if (info->prev_result) {
- while (!info->prev_result->search_completed && !info->prev_result->is_saving) {
+ while (!info->prev_result->search_completed || info->prev_result->is_saving) {
ts_thread_sleep(10);
}
ts_destroy_result(info->prev_result);