summaryrefslogtreecommitdiff
path: root/src/gui/search/SearchView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/search/SearchView.cpp')
-rw-r--r--src/gui/search/SearchView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/search/SearchView.cpp b/src/gui/search/SearchView.cpp
index a8d3d32..526592a 100644
--- a/src/gui/search/SearchView.cpp
+++ b/src/gui/search/SearchView.cpp
@@ -714,12 +714,12 @@ void SearchView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bo
{
if (key == KEY_ESCAPE)
c->Exit();
- if (key == KEY_CTRL)
+ else if (key == KEY_LCTRL || key == KEY_RCTRL)
c->InstantOpen(true);
}
void SearchView::OnKeyRelease(int key, Uint16 character, bool shift, bool ctrl, bool alt)
{
- if (key == KEY_CTRL)
+ if (key == KEY_LCTRL || key == KEY_RCTRL)
c->InstantOpen(false);
}