Fix regression in Home/End handling

This commit is contained in:
Přemysl Eric Janouch 2016-10-05 02:53:09 +02:00
parent 16a19282cb
commit d723f9523f
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 0 deletions

View File

@ -1266,6 +1266,7 @@ app_process_user_action (enum user_action action)
{
g_ctx.active_tab->item_selected = 0;
app_ensure_selection_visible ();
app_invalidate ();
}
return true;
case USER_ACTION_GOTO_BOTTOM:
@ -1274,6 +1275,7 @@ app_process_user_action (enum user_action action)
g_ctx.active_tab->item_selected =
(int) g_ctx.active_tab->item_count - 1;
app_ensure_selection_visible ();
app_invalidate ();
}
return true;