diff options
| author | jacob1 <jfu614@gmail.com> | 2013-07-27 15:21:42 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-07-27 15:21:42 (GMT) |
| commit | 5518a6bcd6f1bd2a70c0f5bd23814e9d79c9bedc (patch) | |
| tree | 9ac3e6b668385d5567e7555c72d5ddfa7206c0dc /src/gui/search/SearchView.cpp | |
| parent | 3d16253319f7d461441a71946d3390b35001ddce (diff) | |
| download | powder-5518a6bcd6f1bd2a70c0f5bd23814e9d79c9bedc.zip powder-5518a6bcd6f1bd2a70c0f5bd23814e9d79c9bedc.tar.gz | |
fix right modifier keys
Diffstat (limited to 'src/gui/search/SearchView.cpp')
| -rw-r--r-- | src/gui/search/SearchView.cpp | 4 |
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); } |
