summaryrefslogtreecommitdiff
path: root/src/search/SearchModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/SearchModel.cpp')
-rw-r--r--src/search/SearchModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search/SearchModel.cpp b/src/search/SearchModel.cpp
index 913e95b..f4de2d6 100644
--- a/src/search/SearchModel.cpp
+++ b/src/search/SearchModel.cpp
@@ -64,7 +64,7 @@ void * SearchModel::updateTagListT()
void SearchModel::UpdateSaveList(int pageNumber, std::string query)
{
//Threading
- if(!updateSaveListWorking && !updateTagListWorking)
+ if(!updateSaveListWorking)
{
lastQuery = query;
lastError = "";
@@ -84,7 +84,7 @@ void SearchModel::UpdateSaveList(int pageNumber, std::string query)
selected.clear();
notifySelectedChanged();
- if(GetShowTags() && !tagList.size())
+ if(GetShowTags() && !tagList.size() && !updateTagListWorking)
{
updateTagListFinished = false;
updateTagListWorking = true;