mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 13:13:10 +02:00
eeshow/gui/sheet.c (sheet_key): recognize GDK_KEY_KP_Home, GDK_KEY_KP_Delete
This commit is contained in:
parent
006d83057b
commit
4f9a9f1d0d
@ -416,11 +416,13 @@ static void sheet_key(void *user, int x, int y, int keyval)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case GDK_KEY_Home:
|
case GDK_KEY_Home:
|
||||||
|
case GDK_KEY_KP_Home:
|
||||||
if (sheet != ctx->new_hist->sheets)
|
if (sheet != ctx->new_hist->sheets)
|
||||||
go_to_sheet(ctx, ctx->new_hist->sheets);
|
go_to_sheet(ctx, ctx->new_hist->sheets);
|
||||||
break;
|
break;
|
||||||
case GDK_KEY_BackSpace:
|
case GDK_KEY_BackSpace:
|
||||||
case GDK_KEY_Delete:
|
case GDK_KEY_Delete:
|
||||||
|
case GDK_KEY_KP_Delete:
|
||||||
go_up_sheet(ctx);
|
go_up_sheet(ctx);
|
||||||
break;
|
break;
|
||||||
case GDK_KEY_Page_Up:
|
case GDK_KEY_Page_Up:
|
||||||
|
Loading…
Reference in New Issue
Block a user