1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-29 12:45:20 +02:00

eeshow/gui/sheet.c (sheet_key): recognize GDK_KEY_KP_Home, GDK_KEY_KP_Delete

This commit is contained in:
Werner Almesberger 2016-08-19 07:09:57 -03:00
parent 006d83057b
commit 4f9a9f1d0d

View File

@ -416,11 +416,13 @@ static void sheet_key(void *user, int x, int y, int keyval)
break;
case GDK_KEY_Home:
case GDK_KEY_KP_Home:
if (sheet != ctx->new_hist->sheets)
go_to_sheet(ctx, ctx->new_hist->sheets);
break;
case GDK_KEY_BackSpace:
case GDK_KEY_Delete:
case GDK_KEY_KP_Delete:
go_up_sheet(ctx);
break;
case GDK_KEY_Page_Up: