summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-10-24 19:58:29 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-10-24 19:58:29 +0000
commit8d538be2bcf3ae2b0f6fb20072b2dca5773e6337 (patch)
treef4a478bdaf89898ae13ab599bcedc8190433a74d
parenta42980f4cb0698f6c5548ad3b28dee01c14c4949 (diff)
downloadnavit-8d538be2bcf3ae2b0f6fb20072b2dca5773e6337.tar.gz
Fix:gui_internal:Make NAVIT_KEY_BACK do something reasonable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3617 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--navit/gui/internal/gui_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/gui/internal/gui_internal.c b/navit/gui/internal/gui_internal.c
index 78d6886b4..8957e09bb 100644
--- a/navit/gui/internal/gui_internal.c
+++ b/navit/gui/internal/gui_internal.c
@@ -5144,6 +5144,7 @@ static void gui_internal_keypress(void *data, char *key)
gui_internal_keynav_highlight_next(this,0,1);
break;
case NAVIT_KEY_BACK:
+ gui_internal_back(this, NULL, NULL);
break;
case NAVIT_KEY_RETURN:
if (this->highlighted && this->highlighted_menu == g_list_last(this->root.children)->data)