diff options
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r-- | src/SearchBar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp index 1094883..b967224 100644 --- a/src/SearchBar.cpp +++ b/src/SearchBar.cpp @@ -31,6 +31,7 @@ namespace QuickMedia { void SearchBar::update() { if(updated_search && time_since_search_update.getElapsedTime().asMilliseconds() >= text_autosearch_delay) { + time_since_search_update.restart(); updated_search = false; sf::String str = text.getString(); if(show_placeholder) |