aboutsummaryrefslogtreecommitdiff
path: root/src/SearchBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r--src/SearchBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp
index bf58c34..a54fc5d 100644
--- a/src/SearchBar.cpp
+++ b/src/SearchBar.cpp
@@ -122,7 +122,7 @@ namespace QuickMedia {
time_since_search_update.restart();
}
- if(sf::Keyboard::isKeyPressed(sf::Keyboard::LAlt) || sf::Keyboard::isKeyPressed(sf::Keyboard::RAlt))
+ if(sf::Keyboard::isKeyPressed(sf::Keyboard::LControl) || sf::Keyboard::isKeyPressed(sf::Keyboard::RControl))
return;
if(event.type == sf::Event::TextEntered && event.text.unicode != 8 && event.text.unicode != 127) // 8 = backspace, 127 = del