summaryrefslogtreecommitdiff
path: root/src/search/SearchController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/SearchController.cpp')
-rw-r--r--src/search/SearchController.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp
index 7930b65..44ff681 100644
--- a/src/search/SearchController.cpp
+++ b/src/search/SearchController.cpp
@@ -55,6 +55,11 @@ SaveInfo * SearchController::GetLoadedSave()
return searchModel->GetLoadedSave();
}
+void SearchController::ReleaseLoadedSave()
+{
+ searchModel->SetLoadedSave(NULL);
+}
+
void SearchController::Update()
{
if(!nextQueryDone && nextQueryTime < clock())