diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-07-03 06:19:21 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-07-03 06:19:21 +0200 |
| commit | 96abc848658f2770dbe7e98108e4249688fdd8c5 (patch) | |
| tree | 9602d304148c3d19ecc493eb8774c136adbfe0ba /hud | |
| parent | ed848e43e520d9d36eb1e8f350d2710d7dc8b086 (diff) | |
IMTextEntry: updated to match the new interface of lp:~3v1n0/nux/text-entry-virtual-clipboard
(bzr r2463.2.1)
Diffstat (limited to 'hud')
| -rw-r--r-- | hud/HudView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hud/HudView.cpp b/hud/HudView.cpp index d1f77fa2f..d45a741a0 100644 --- a/hud/HudView.cpp +++ b/hud/HudView.cpp @@ -255,7 +255,7 @@ void View::SetQueries(Hud::Queries queries) query_activated.emit(dynamic_cast<HudButton*>(area)->GetQuery()); }); - button->key_nav_focus_change.connect([&](nux::Area* area, bool recieving, KeyNavDirection direction){ + button->key_nav_focus_change.connect([&](nux::Area* area, bool recieving, nux::KeyNavDirection direction){ if (recieving) query_selected.emit(dynamic_cast<HudButton*>(area)->GetQuery()); }); @@ -592,7 +592,7 @@ nux::Area* View::FindKeyFocusArea(unsigned int event_type, direction = nux::KEY_NAV_ENTER; break; case NUX_VK_F4: - if (special_keys_state & NUX_STATE_ALT) + if (special_keys_state == nux::NUX_STATE_ALT) { ubus.SendMessage(UBUS_HUD_CLOSE_REQUEST); } |
