aboutsummaryrefslogtreecommitdiff
path: root/src/SearchBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r--src/SearchBar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp
index b20c3b0..63515bd 100644
--- a/src/SearchBar.cpp
+++ b/src/SearchBar.cpp
@@ -103,6 +103,7 @@ namespace QuickMedia {
clear();
updated_search = true;
updated_autocomplete = true;
+ time_since_search_update.restart();
}
if(event.type == sf::Event::TextEntered && event.text.unicode != 8 && event.text.unicode != 127) // 8 = backspace, 127 = del